Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. # wg showconf wg0
  2. [Interface]
  3. ListenPort = 51820
  4. PrivateKey = XXX
  5.  
  6. [Peer]
  7. PublicKey = XXXpHSU=
  8. AllowedIPs = 194.1.163.70/32, 194.1.163.32/27, 2a02:2528:ff00::70/128
  9. Endpoint = 77.109.172.131:56055
  10.  
  11. [Peer]
  12. PublicKey = XXX2XHU=
  13. AllowedIPs = 194.1.163.71/32, 2a02:2528:ff00::71/128
  14. Endpoint = 80.218.226.119:36186
  15.  
  16. # wg set wg0 peer XXX2XHU= allowed-ips 194.1.163.71/32,194.1.163.32/27,2a02:2528:ff00::71/128
  17.  
  18. # wg showconf wg0
  19. [Interface]
  20. ListenPort = 51820
  21. PrivateKey = XXX
  22.  
  23. [Peer]
  24. PublicKey = pHSU=
  25. AllowedIPs = 194.1.163.70/32, 2a02:2528:ff00::70/128
  26. Endpoint = 77.109.172.131:56055
  27.  
  28. [Peer]
  29. PublicKey = 2XHU=
  30. AllowedIPs = 194.1.163.71/32, 194.1.163.32/27, 2a02:2528:ff00::71/128
  31. Endpoint = 80.218.226.119:36186
  32.  
  33. # wg set wg0 peer XXXpHSU= allowed-ips 194.1.163.70/32,194.1.163.32/27,2a02:2528:ff00::70/128
  34.  
  35. root@alp:/etc/bird# wg showconf wg0
  36. [Interface]
  37. ListenPort = 51820
  38. PrivateKey = XXX
  39.  
  40. [Peer]
  41. PublicKey = pHSU=
  42. AllowedIPs = 194.1.163.70/32, 194.1.163.32/27, 2a02:2528:ff00::70/128
  43. Endpoint = 77.109.172.131:56055
  44.  
  45. [Peer]
  46. PublicKey = 2XHU=
  47. AllowedIPs = 194.1.163.71/32, 2a02:2528:ff00::71/128
  48. Endpoint = 80.218.226.119:36186
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement