service configuration files that needs to be saved just incase the server got lost someday by the cloud provider.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.2KB

  1. [Interface]
  2. Address = 10.0.0.1/24
  3. Address = fd86:ea04:1115::1/64
  4. Address = fe80::b028:6113:848c:2429/64
  5. Address = fe80::8bcf:d2c9:b9d5:403e/64
  6. Address = fe80::576:ea45:9a34:b0d0/64
  7. Address = fe80::33:1512:7608:6fff/64
  8. Address = fe80::72a4:1c42:f5e0:7e9f/64
  9. Address = fe80::dd9e:3dec:caaa:faae/64
  10. Address = fe80::46be:2df8:9ffe:c836/64
  11. Address = fe80::e450:f367:5ffa:59e4/64
  12. Address = fe80::df6b:9792:c2b0:8f70/64
  13. Address = fe80::8a03:aff3:d79:4eeb/64
  14. SaveConfig = true
  15. PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE; ip6tables -A FORWARD -i wg0 -j ACCEPT; ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
  16. PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE; ip6tables -D FORWARD -i wg0 -j ACCEPT; ip6tables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
  17. ListenPort = 51820
  18. PrivateKey = aL823LKKh+I1VO0ohkQOq6e/RxkuEul84Elk57NTf3o=
  19. [Peer]
  20. PublicKey = h/V6AmQ9Aaxxnk4CT3bk8auTHk240M1dak/diKeJ1Xw=
  21. AllowedIPs = 10.0.0.2/32
  22. Endpoint = 115.64.88.12:47002
  23. [Peer]
  24. PublicKey = 0PdP/NjrCvVBpDEhu0wQ1gWYTLDyQy6xyqWElnmsSxs=
  25. AllowedIPs = 10.0.0.4/32
  26. Endpoint = 207.148.80.140:54282