OpenVPN withprivateinternetaccess
Posted: Sun Oct 06, 2013 9:18 pm
Hi all,
I'm trying to set up openvpn to connect to my privateinternetaccess vpn, but I can't seem to figure out how to do it.
They have instructions (https://www.privateinternetaccess.com/p ... rt_openvpn) for how to get it to work with dd-wrt, but not gargoyle or even openwrt.
I'd appreciate if someone could help guide me through how to do this, as I'm really rather lost.
Thanks
I've tried manually doing it by creating a .ovpn file in /etc/openvpn with the following settings:
and then running openvpn --config config.ovpn. This is the output I get
But I can't connect anywhere. I'd also like to have this run in the background and on startup, and specify for it to only route through the vpn for netflix, but I have no idea how to do that either :p
I'm trying to set up openvpn to connect to my privateinternetaccess vpn, but I can't seem to figure out how to do it.
They have instructions (https://www.privateinternetaccess.com/p ... rt_openvpn) for how to get it to work with dd-wrt, but not gargoyle or even openwrt.
I'd appreciate if someone could help guide me through how to do this, as I'm really rather lost.
Thanks
I've tried manually doing it by creating a .ovpn file in /etc/openvpn with the following settings:
Code: Select all
client
dev tun
proto udp
remote us-east.privateinternetaccess.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ./ca.crt
tls-client
remote-cert-tls server
auth-user-pass ./password.txt
comp-lzo
verb 1
reneg-sec 0
Code: Select all
Sun Oct 6 21:32:14 2013 OpenVPN 2.2.2 mips-openwrt-linux [SSL] [LZO2] [EPOLL] b uilt on May 20 2013
Sun Oct 6 21:32:14 2013 WARNING: file './password.txt' is group or others acces sible
Sun Oct 6 21:32:14 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or hig her to call user-defined scripts or executables
Sun Oct 6 21:32:14 2013 LZO compression initialized
Sun Oct 6 21:32:14 2013 RESOLVE: NOTE: us-east.privateinternetaccess.com resolv es to 4 addresses
Sun Oct 6 21:32:14 2013 UDPv4 link local: [undef]
Sun Oct 6 21:32:14 2013 UDPv4 link remote: 209.222.5.231:1194
Sun Oct 6 21:32:14 2013 WARNING: this configuration may cache passwords in memo ry -- use the auth-nocache option to prevent this
Sun Oct 6 21:32:15 2013 [server] Peer Connection Initiated with 209.222.5.231:1 194
Sun Oct 6 21:32:17 2013 TUN/TAP device tun0 opened
Sun Oct 6 21:32:17 2013 /sbin/ifconfig tun0 10.167.1.6 pointopoint 10.167.1.5 m tu 1500
Sun Oct 6 21:32:17 2013 Initialization Sequence Completed