Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Interface]
- PrivateKey =
- Address = 10.6.0.1/24
- ListenPort = 51820
- PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o enp34s0 -j MASQUERADE
- PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o enp34s0 -j MASQUERADE
- [Peer]
- PublicKey =
- PresharedKey =
- AllowedIPs = 10.6.0.2/30
Advertisement
Add Comment
Please, Sign In to add comment