I have a simple OpenVPN server set up (in Ubuntu) that I'd like to send traffic through on my phone (Android) and laptop (Windows 7). This is partly for general security, but also to watch netflix when out of the country (refuses to stream some movies overseas due to licensing issues). I don't think I need a bridged connection, so right now I'm just using tun. I'm also using client certificates rather than login-based authentication.
Using one set of client certificates, and OpenVPN for Android, I have this working on my phone. It connects well, and when I go to
http://www.whatismyip.com it responds with the IP address of the server, not the phone. Success!
Using a second set of client certificates, and trying both OpenVPN Client and OpenVPN Gui, I cannot get this to work on my Windows 7 laptop (I am running it in Admin mode). I connect fine, but none of the traffic is going through the VPN and
http://www.whatismyip.com returns my local IP, not the VPN server's IP. 🙁
Any suggestions on where to look/what to try? My configs are posted below.
Cheers,
Kernal
Server Config:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Client Config:
client
dev tun
proto udp
remote XXX.XXX.XXX.XXX 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\client1.crt"
key "C:\\Program Files\\OpenVPN\\config\\client1.key"
comp-lzo
verb 3