Guest User

Untitled

a guest
May 22nd, 2021
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. [Interface]
  2. Address = 192.168.0.4/30
  3. ListenPort = CENSORED
  4. PrivateKey = CENSORED
  5. PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
  6. PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
  7.  
  8. [Peer]
  9. #Galaxy S10
  10. PublicKey = CENSORED
  11. PresharedKey = CENSORED
  12. AllowedIPs = 192.168.0.5/32
  13.  
  14. [Peer]
  15. #Pixel
  16. PublicKey = CENSORED
  17. PresharedKey = CENSORED
  18. AllowedIPs = 192.168.0.6/32
  19.  
  20. [Peer]
  21. #Pixel
  22. PublicKey = CENSORED
  23. PresharedKey = CENSORED
  24. AllowedIPs = 192.168.0.7/32
  25.  
Advertisement
Add Comment
Please, Sign In to add comment