Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Interface]
- Address = 10.13.13.1
- ListenPort = 42069
- PrivateKey =
- PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth+ -j MASQUERADE
- PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth+ -j MASQUERADE
- #Port forwarding:
- PreUp = iptables -t nat -A PREROUTING -d 192.168.0.20 -p tcp --dport 9999 -j DNAT --to-destination 10.13.13.4:8090
- PreUp = iptables -t nat -A POSTROUTING -j MASQUERADE
- PostDown = iptables -t nat -D PREROUTING -d 192.168.0.20 -p tcp --dport 9999 -j DNAT --to-destination 10.13.13.4:8090
- PostDown = iptables -t nat -D POSTROUTING -j MASQUERADE
- [Peer]
- # peer_MorPi
- PublicKey =
- PresharedKey =
- AllowedIPs = 10.13.13.4/32, 192.168.8.0/24
Advertisement
Add Comment
Please, Sign In to add comment