Advertisement
Guest User

WG settings

a guest
Jan 23rd, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. Server
  2. PrivateKey = XXXXXXXXXXXXXXXXXXXX
  3. Address = 10.2.0.6/24
  4. ListenPort = 8080
  5.  
  6. [Peer]
  7. PublicKey = Peer 1’s public key
  8. AllowedIPS = 10.2.0.33/32
  9. Endpoint = 192.168.1.12:8080
  10.  
  11. [Peer]
  12. PublicKey = Peer 2’s public key
  13. AllowedIPS = 10.2.0.9/32
  14. Endpoint = PC 3 static public IP address:8080
  15. PersistentKeepAlive = 25
  16.  
  17. -----------------------------------------------
  18. Peer 1
  19. PrivateKey = XXXXXXXXXXXXXXXXXXXX
  20. Address = 10.2.0.33/24
  21. ListenPort = 8080
  22.  
  23. [Peer]
  24. PublicKey = Server’s public key
  25. AllowedIPS = 10.2.0.6/32
  26. Endpoint = 192.168.1.6:8080
  27.  
  28. -----------------------------------------------
  29. Peer 2
  30. PrivateKey = XXXXXXXXXXXXXXXXXXXX
  31. Address = 10.2.0.9/24
  32. ListenPort = 8080
  33.  
  34. [Peer]
  35. PublicKey = Server’s public key
  36. AllowedIPS = 10.2.0.6/32
  37. Endpoint = Server static public IP address:8080
  38. PersistentKeepAlive = 25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement