mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-10 04:07:04 +02:00
11 lines
438 B
Plaintext
11 lines
438 B
Plaintext
[Interface]
|
|
Address = 192.168.32.1/24
|
|
ListenPort = 51820
|
|
PrivateKey = kNX2ozKebAlSd8P7mbRnm5RPT1/1l9DF05Nes9yjJ3o=
|
|
PostUp = iptables -t nat -A POSTROUTING -s 192.168.32.0/24 -j MASQUERADE; iptables -t filter -A FORWARD -j ACCEPT
|
|
PreDown = iptables -t nat -D POSTROUTING -s 192.168.32.0/24 -j MASQUERADE; iptables -t filter -D FORWARD -j ACCEPT
|
|
|
|
[Peer]
|
|
PublicKey = vrNjkdY8PT7AFcWr87uhrwuPPDgzNh1KA9zkyRiQSRM=
|
|
AllowedIPs = 192.168.32.2/32
|