From anonymous, 2 Years ago, written in Plain Text.
Embed
  1. root@VPN:~# cat /etc/openvpn/server.conf
  2. log-append openvpn.log
  3. port 1194
  4. proto udp6
  5. dev opvntun
  6. push opvntun
  7. mode server
  8. ca /etc/openvpn/easy-rsa/keys/ca.crt
  9. cert /etc/openvpn/easy-rsa/keys/server.crt
  10. key /etc/openvpn/easy-rsa/keys/server.key
  11. dh /etc/openvpn/easy-rsa/keys/dh2048.pem
  12. server 192.0.2.1 255.255.255.0
  13. push "route 0.0.0.0 255.255.255.0"
  14. ifconfig-pool-persist ipp.txt
  15. keepalive 1 120
  16. comp-lzo no
  17. push "comp-lzo no"
  18.  
  19. cipher AES-256-CBC
  20. push "redirect-gateway def1"
  21. push "redirect-gateway ipv6"
  22. push "dhcp-option DNS 203.0.113.1"
  23. push "dhcp-option DNS 203.0.113.2"
  24. push "dhcp-option DNS 2001:DB8:FEED::1"
  25. push "dhcp-option DNS 2001:DB8:FEED::2"
  26.  
  27. server-ipv6 2001:DB8:800c:1001::/64
  28. float
  29.  
  30. #IPv6 configuration
  31. push "route-ipv6 2000::/3";
  32. persist-key
  33. persist-tun
  34. verb 4
  35. client-to-client