Guest User

Untitled

a guest
Apr 8th, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. [Interface]
  2. PrivateKey =
  3. Address = 10.6.0.1/24
  4. ListenPort = 51820
  5.  
  6. PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o enp34s0 -j MASQUERADE
  7. PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o enp34s0 -j MASQUERADE
  8.  
  9. [Peer]
  10. PublicKey =
  11. PresharedKey =
  12. AllowedIPs = 10.6.0.2/30
Advertisement
Add Comment
Please, Sign In to add comment