Advertisement
Guest User

Untitled

a guest
Aug 5th, 2018
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. # This is a sample config file for TunSafe. It uses the same syntax as
  2. # WireGuard's wg-quick tool
  3.  
  4. [Interface]
  5.  
  6. # The private key of this computer. This is a secret key, don't give it out.
  7. # To convert it to a public key you can go to 'Generate Key Pair' in TunSafe.
  8. PrivateKey = ABC
  9.  
  10. # Whether we want to bind a port to allow others to initiate connections to us.
  11. # Please ensure this port is mapped in your router.
  12. #ListenPort = 8080
  13.  
  14. # Switch DNS server while connected
  15. # DNS = 8.8.8.8
  16.  
  17. # The addresses to bind to. Either IPv4 or IPv6. /31 and /32 are not supported.
  18. Address = 10.8.0.1/24
  19.  
  20.  
  21. [Peer]
  22. # The public key of the peer. Do not use the private key here. Use the 'Generate Key Pair'
  23. # function in TunSafe to convert a private key to a public key.
  24. PublicKey = XYZ
  25.  
  26. # It's also possible to use a preshared key for extra security
  27. # PresharedKey = SNz4BYc61amtDhzxNCxgYgdV9rPU+WiC8woX47Xf/2Y=
  28.  
  29. # The IP range that we may send packets to for this peer.
  30. AllowedIPs = 10.8.0.1/24
  31.  
  32. # Address of the server
  33. Endpoint = 192.168.1.1:45302
  34.  
  35. # Send periodic keepalives to ensure connection stays up behind NAT.
  36. PersistentKeepalive = 25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement