Last active
February 1, 2021 13:43
-
-
Save mcprat/34435b8e44ab82b26e7be81b60588c57 to your computer and use it in GitHub Desktop.
openvpn openwrt client config (user-pass) (key-direction)
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
config openvpn 'server' | |
option client '1' | |
option dev 'tun' | |
option proto 'udp' | |
list remote 'xxx.xxx.xxx.xxx xxxx' | |
option remote_cert_tls 'server' | |
option ca '/etc/openvpn/server.ca' | |
option cert '/etc/openvpn/client.cert' | |
option key '/etc/openvpn/client.key' | |
option tls_auth '/etc/openvpn/hmac.key' | |
option key_direction '1' | |
option auth 'SHA1' | |
option auth_nocache '1' | |
option auth_user_pass '/etc/openvpn/auth.txt' | |
list ncp_ciphers 'AES-128-CBC' | |
option nobind '1' | |
option persist_key '1' | |
option persist_tun '1' | |
option keepalive '10 120' | |
option enabled '1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment