Created
February 7, 2018 12:58
-
-
Save csamsel/6f4082fe61b5aec2c90d6df2eef5a8e7 to your computer and use it in GitHub Desktop.
secure OpenVPN configuration using easy-rsa
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
| dev vpn0 | |
| port 5000 | |
| tls-server | |
| key /etc/openvpn/easy-rsa/pki/private/openvpn.key | |
| cert /etc/openvpn/easy-rsa/pki/issued/openvpn.crt | |
| ca /etc/openvpn/easy-rsa/pki/ca.crt | |
| dh /etc/openvpn/easy-rsa/pki/dh.pem | |
| tls-crypt /etc/openvpn/easy-rsa/pki/openvpn.tlsauth | |
| crl-verify /etc/openvpn/easy-rsa/pki/crl.pem | |
| remote-cert-tls client | |
| dev-type tun | |
| topology subnet | |
| server 192.168.3.0 255.255.255.0 | |
| push "route 192.168.2.0 255.255.255.0" | |
| comp-lzo | |
| proto udp | |
| user openvpn | |
| group openvpn | |
| persist-key | |
| persist-tun | |
| keepalive 10 120 | |
| explicit-exit-notify 1 | |
| mssfix 1452 | |
| verb 3 | |
| ifconfig-pool-persist ipp.txt | |
| status /var/log/openvpn-status.log 10 | |
| status-version 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment