Created
December 27, 2020 21:39
-
-
Save mcprat/ff21860c1bbb4b00305243314e6603b0 to your computer and use it in GitHub Desktop.
Openwrt openvpn config file example
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 'myvpn' | |
option dev 'tun' | |
option reneg_sec '0' | |
option verb '4' | |
option persist_key '1' | |
option nobind '1' | |
option persist_tun '1' | |
option client '1' | |
option remote_cert_tls 'server' | |
list remote 'example.com 9090' | |
option proto 'udp' | |
option resolv_retry 'infinite' | |
option keepalive '10 120' | |
option auth_nocache '1' | |
option auth 'SHA256' | |
option ca '/etc/openvpn-ca/GCloud.ca' | |
option cert '/etc/openvpn-ca/GCloud.cert' | |
option key '/etc/openvpn-keys/GCloud-office.key' | |
option tls_crypt '/etc/openvpn-keys/GCloud-crypt.key' | |
option enabled '1' | |
list route '192.168.4.0 255.255.255.0' | |
list route '192.168.101.0 255.255.255.0' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment