Created
April 1, 2019 12:26
-
-
Save WeWin55/2444d16f7a9ba273e0c4eaa3359bd4f4 to your computer and use it in GitHub Desktop.
openvpn vyos router github pia private internet access vpn secure
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
| Download PIA-CA file. | |
| vyos@vyos# nano /config/auth/ca.crt | |
| Config: | |
| set openvpn vtun0 authentication password '' | |
| set openvpn vtun0 authentication username '' | |
| set openvpn vtun0 encryption 'aes128' | |
| set openvpn vtun0 hash 'sha1' | |
| set openvpn vtun0 mode 'client' | |
| set openvpn vtun0 openvpn-option '--cipher aes-128-cbc' | |
| set openvpn vtun0 openvpn-option '--fast-io' | |
| set openvpn vtun0 persistent-tunnel | |
| set openvpn vtun0 protocol 'udp' | |
| set openvpn vtun0 remote-host 'swiss.privateinternetaccess.com' | |
| set openvpn vtun0 remote-port '1198' | |
| set openvpn vtun0 tls ca-cert-file '/config/auth/ca.crt' | |
| set openvpn vtun0 use-lzo-compression | |
| Example: | |
| vyos@vyos# show interfaces openvpn | |
| openvpn vtun0 { | |
| authentication { | |
| password Password | |
| username Username | |
| } | |
| encryption aes128 | |
| hash sha1 | |
| mode client | |
| openvpn-option "--cipher aes-128-cbc" | |
| openvpn-option --fast-io | |
| persistent-tunnel | |
| protocol udp | |
| remote-host swiss.privateinternetaccess.com | |
| remote-port 1198 | |
| tls { | |
| ca-cert-file /config/auth/ca.crt | |
| } | |
| use-lzo-compression | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment