Advertisement
Guest User

Untitled

a guest
Aug 6th, 2018
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. config interface 'wg'
  2. option proto 'wireguard'
  3. option private_key 'private_key server'
  4. option listen_port 'port server'
  5. list addresses '10.0.0.1/24'
  6.  
  7. config wireguard_wg
  8. option route_allowed_ips '1'
  9. option description 'client1'
  10. option endpoint_host 'IP server'
  11. option endpoint_port 'port server'
  12. option persistent_keepalive '25'
  13. option public_key 'public_key client1'
  14. list allowed_ips '10.0.0.3/24'
  15.  
  16. config wireguard_wg
  17. option public_key 'public_key client2'
  18. list allowed_ips '10.0.0.2/24'
  19. option route_allowed_ips '1'
  20. option endpoint_host 'IP server'
  21. option endpoint_port 'Poert server'
  22. option persistent_keepalive '25'
  23.  
  24. config wireguard_wg
  25. option description 'phone'
  26. option public_key 'public_key phone'
  27. option route_allowed_ips '1'
  28. option endpoint_host 'IP server'
  29. option endpoint_port 'Port server'
  30. list allowed_ips '10.0.0.6/24'
  31. option persistent_keepalive '25'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement