Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. config openvpn 'vpnserver'
  2. option enabled '1'
  3. option dev_type 'tun'
  4. option dev 'ovpns0'
  5. option port '1194'
  6. option proto 'udp'
  7. option comp_lzo 'yes'
  8. option keepalive '10 120'
  9. option persist_key '1'
  10. option persist_tun '1'
  11. option ca '/etc/openvpn/ca.crt'
  12. option cert '/etc/openvpn/my-server.crt'
  13. option key '/etc/openvpn/my-server.key'
  14. option dh '/etc/openvpn/dh2048.pem'
  15. option tls_auth '/etc/openvpn/tls-auth.key 0'
  16. option mode 'server'
  17. option tls_server '1'
  18. option server '192.168.200.0 255.255.255.0'
  19. option topology 'subnet'
  20. option client_to_client '1'
  21. list push 'comp-lzo yes'
  22. list push 'persist-key'
  23. list push 'persist-tun'
  24. list push 'topology subnet'
  25. list push 'route-gateway dhcp'
  26. list push 'redirect-gateway def1'
  27. list push 'route 192.168.200.0 255.255.255.0'
  28. list push 'dhcp-option DNS 192.168.1.1'
  29. option route_gateway '192.168.0.1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement