mirror of
https://github.com/vvzvlad/trickster-vpn.git
synced 2024-11-17 02:59:12 +03:00
13 lines
369 B
Plaintext
13 lines
369 B
Plaintext
|
[Interface]
|
||
|
Address=10.20.30.2/32
|
||
|
PrivateKey=6CCRP42JiTObyf64Vo0BcqsX6vptsqOU+MKUslUun28=
|
||
|
PostUp = iptables -t nat -A POSTROUTING -o ens2 -j MASQUERADE
|
||
|
PostDown = iptables -t nat -D POSTROUTING -o ens2 -j MASQUERADE
|
||
|
|
||
|
#internal node
|
||
|
[Peer]
|
||
|
PublicKey=MxnOnIlKfSyZyRutnYyoWHb3Izjalgf1t8F1oPJiyyw=
|
||
|
AllowedIPs=10.20.30.0/24
|
||
|
Endpoint=195.2.79.13:17968
|
||
|
PersistentKeepalive=25
|