Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Interface]
- Address = 192.168.0.4/30
- ListenPort = CENSORED
- PrivateKey = CENSORED
- PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
- PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
- [Peer]
- #Galaxy S10
- PublicKey = CENSORED
- PresharedKey = CENSORED
- AllowedIPs = 192.168.0.5/32
- [Peer]
- #Pixel
- PublicKey = CENSORED
- PresharedKey = CENSORED
- AllowedIPs = 192.168.0.6/32
- [Peer]
- #Pixel
- PublicKey = CENSORED
- PresharedKey = CENSORED
- AllowedIPs = 192.168.0.7/32
Advertisement
Add Comment
Please, Sign In to add comment