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