Created
May 5, 2017 00:20
-
-
Save yohangdev/391d97addc19a7482c13bbf69dd8316c to your computer and use it in GitHub Desktop.
OpenVPN Config, Port 443, UDP, LDAP, Routing, No Redirect Gateway
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| port 443 | |
| proto udp | |
| #port-share 10.1.14.55 4443 | |
| dev tun | |
| sndbuf 0 | |
| rcvbuf 0 | |
| ca ca.crt | |
| cert server.crt | |
| key server.key | |
| dh dh.pem | |
| topology subnet | |
| server 10.8.0.0 255.255.255.0 | |
| ifconfig-pool-persist ipp.txt | |
| #push "redirect-gateway def1 bypass-dhcp" | |
| push "route 10.1.14.0 255.255.255.0" | |
| push "dhcp-option DNS 10.1.14.1" | |
| push "dhcp-option DNS 8.8.8.8" | |
| plugin /usr/lib/openvpn/openvpn-auth-ldap.so /etc/openvpn/auth/auth-ldap.conf | |
| #client-cert-not-required | |
| duplicate-cn | |
| keepalive 10 120 | |
| comp-lzo | |
| persist-key | |
| persist-tun | |
| status openvpn-status.log | |
| log openvpn.log | |
| verb 3 | |
| crl-verify /etc/openvpn/easy-rsa/pki/crl.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment