toxi22

OpenVPN Server Config

Sep 14th, 2021 (edited)
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. mode server
  2. proto udp
  3. dev tun
  4.  
  5. topology subnet
  6. server 192.168.224.0 255.255.252.0
  7. #server-ipv6 2a00:1838:32:200::/112
  8.  
  9. txqueuelen 250
  10. keepalive 300 900
  11. persist-tun
  12. persist-key
  13.  
  14. cipher AES-128-CBC
  15. ncp-ciphers AES-128-GCM:AES-128-CBC:AES-256-GCM:AES-256-CBC
  16.  
  17. #user nobody
  18. duplicate-cn
  19.  
  20. #log logs/zaborona1.log
  21. #status logs/status1.log 30
  22. #client-config-dir ccd
  23.  
  24. push "redirect-gateway def1"
  25.  
  26. push "dhcp-option DNS 94.140.14.14" # First AdGuard DNS
  27. push "route 94.140.14.14" # Route to AdGuard DNS
  28.  
  29. push "dhcp-option DNS 94.140.15.15" # Second AdGuard DNS
  30. push "route 94.140.15.15" # Route to AdGuard DNS
  31.  
  32. ca ca.crt
  33. cert zaborona.help.crt
  34. key zaborona.help.key
  35. dh dh2048.pem
Add Comment
Please, Sign In to add comment