Advertisement
Guest User

Untitled

a guest
Nov 16th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. server 192.168.255.0 255.255.255.0
  2. verb 3
  3. key /etc/openvpn/pki/private/vpn.[myhost].com.key
  4. ca /etc/openvpn/pki/ca.crt
  5. cert /etc/openvpn/pki/issued/vpn.[myhost].com.crt
  6. dh /etc/openvpn/pki/dh.pem
  7. tls-auth /etc/openvpn/pki/ta.key
  8. key-direction 0
  9. keepalive 10 60
  10. persist-key
  11. persist-tun
  12.  
  13. proto udp
  14. # Rely on Docker to do port mapping, internally always 1194
  15. port 1194
  16. dev tun0
  17. status /tmp/openvpn-status.log
  18.  
  19. user nobody
  20. group nogroup
  21. comp-lzo no
  22.  
  23. ### Route Configurations Below
  24. route 1.0.0.0 255.255.255.0
  25.  
  26. ### Push Configurations Below
  27. push "block-outside-dns"
  28. push "dhcp-option DNS 10.0.0.2"
  29. push "dhcp-option DNS 8.8.8.8"
  30. push "dhcp-option DNS 8.8.4.4"
  31. push "comp-lzo no"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement