Advertisement
independentt

OpenVPN LAN Server Config Sample

Oct 3rd, 2014
26,899
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. #OpenVPN Client-To-Client (LAN) Server configuration sample
  2. #Can be used to bypass firewalls and access ports of a client
  3. # You might want to edit this, this will be the port you will forward on your router.
  4. # It almost doesn't matter to what value you set it.
  5. port 1194
  6.  
  7. # UDP for protocol
  8. proto udp
  9.  
  10. # You don't need to edit this.
  11. dev tap
  12.  
  13. #Setting up encryption
  14. ca ca.crt
  15. cert server.crt
  16. key server.key
  17. dh dh1024.pem
  18.  
  19. server 192.168.150.0 255.255.255.0
  20.  
  21.  
  22.  
  23. # Clients wants to see each other.
  24. client-to-client
  25.  
  26. keepalive 10 120
  27.  
  28. comp-lzo
  29.  
  30. persist-key
  31. persist-tun
  32.  
  33. status openvpn-status.log
  34.  
  35. duplicate-cn
  36. verb 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement