I have used the following thread for help but it seems a bit old and im wondering if anything has changed with PIA setup or something within EdgeOS in the newer versions. Im just looking for a quick sanity check here. I am trying to connect my edgerouter to privateinternetaccess.com as a client.
Heres my routing:
firewall {
modify PIA_ROUTE {
rule 10 {
description "single host route to vtun1 (pia)"
modify {
table 1
}
source {
address 192.168.1.64/32
}
}
}
Heres my interface config:
openvpn vtun1 {
config-file /config/auth/ovpn-client/us-seattle.ovpn
description OpenVPN-Client(PIA)
}
Heres my openvpn config file that i modified from PIA:
client
dev-type tun
proto udp
remote us-seattle.privateinternetaccess.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-cbc
auth sha1
ca /config/auth/ovpn-client/ca.crt
tls-client
remote-cert-tls server
auth-user-pass /config/auth/ovpn-client/pia_pass.txt
comp-lzo
verb 1
reneg-sec 0
crl-verify /config/auth/ovpn-client/crl.pem
disable-occ
Heres my pia_pass.txt file for authentication:
username
password
^ the ahove file just has 2 line in it. first line is my username and the second line is my password. I had this working almost a year ago but that was several code releases in the past. :\
I have the ca.crt file and the crl.pem file in my local directory.
vbash-4.1# pwd
/config/auth/ovpn-client
vbash-4.1# ls
ca.crt crl.pem pia_pass.txt us-seattle.ovpn
I cant figure out what im missing here. Any help would be appreciated. Thanks!