You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
475 B
Plaintext
15 lines
475 B
Plaintext
5 years ago
|
[Interface]
|
||
|
Address = 10.64.0.1/10
|
||
|
ListenPort = 500
|
||
|
DNS = 10.3.14.15
|
||
|
PrivateKey = server_privatekey
|
||
|
|
||
|
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]
|
||
|
#Peer-1
|
||
|
PublicKey = peer1_publickey
|
||
|
AllowedIPs = 10.111.9.1/32
|
||
|
#PersistentkeepAlive = 60
|