13 lines
454 B
Plaintext
13 lines
454 B
Plaintext
[Interface]
|
|
Address = 10.13.13.1
|
|
ListenPort = 51820
|
|
PrivateKey = ***REMOVED***
|
|
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
|
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
|
|
|
|
[Peer]
|
|
# peer1
|
|
PublicKey = Fh4z7lVZRi2YdMK1HCHaECyVs1tIzJAdXu3WF10/VUQ=
|
|
AllowedIPs = 10.13.13.2/32
|
|
|