mirror of
https://github.com/vvzvlad/trickster-vpn.git
synced 2024-11-05 14:19:12 +03:00
19 lines
569 B
Plaintext
19 lines
569 B
Plaintext
|
[Interface]
|
||
|
Address = 10.20.30.1/32
|
||
|
ListenPort = 17968
|
||
|
PrivateKey = kOd3FVBggwpjD3AlZKXUxNTzJT0+f3MJdUdR8n6ZBn8=
|
||
|
PostUp = iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE
|
||
|
PostUp = ip rule add from 195.2.79.13 table main
|
||
|
PostDown = iptables -t nat -D POSTROUTING -o ens3 -j MASQUERADE
|
||
|
PostDown = ip rule del from 195.2.79.13 table main
|
||
|
|
||
|
#external node
|
||
|
[Peer]
|
||
|
PublicKey = FulnUTovyyfgn5kmgPkcj2OjKRFGeLkaTsHtAOy6HW8=
|
||
|
AllowedIPs = 10.20.30.2/32, 0.0.0.0/0
|
||
|
|
||
|
#mobile-client node
|
||
|
[Peer]
|
||
|
PublicKey = 26Vhud00ag/bdB9molvSxfBzZTlzdO+aZgrX3ZDncSg=
|
||
|
AllowedIPs = 10.20.30.3/32
|