Advertisement
trupsalms

openvpn.conf

Jul 22nd, 2012
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. local x.x.x.x #- your_server_ip goes here
  2. port 1194 #- port
  3. proto udp #- protocol
  4. dev tun
  5. tun-mtu 1500
  6. tun-mtu-extra 32
  7. mssfix 1450
  8. ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
  9. cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
  10. key /etc/openvpn/easy-rsa/2.0/keys/server.key
  11. dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
  12. plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so /etc/pam.d/login
  13. username-as-common-name
  14. server 192.168.50.0 255.255.255.0
  15. ifconfig-pool-persist /etc/openvpn/log/ipp.tx
  16. push "redirect-gateway def1 bypass-dhcp"
  17. push "explicit-exit-notify 3"
  18. push "dhcp-option DNS 8.8.8.8"
  19. push "dhcp-option DNS 4.2.2.1"
  20. client-to-client
  21. keepalive 10 120
  22. comp-lzo
  23. max-clients 10
  24. user nobody
  25. group nobody
  26. persist-key
  27. persist-tun
  28. status /etc/openvpn/log/1194.log
  29. status /etc/openvpn/log/openvpn-status.log
  30. log-append /var/log/openvpn.log
  31. log /etc/openvpn/log/openvpn-server.log
  32. verb 3
  33. mute 20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement