I have an OpenVPN server in my house that I'm trying to set up to work with my Android phone. I have the client installed and connecting fine, but when I go to http://www.whatismypublicip.com/ to see my IPv4 IP, it is still using my phone provider's IP. I also can't resolve any of the local IPs behind the VPN. Any ideas?
Here's a screenshot of me connected:
And here's my server config:
Code: Select all
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
#push "redirect-gateway def1 bypass-dhcp"
#push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
comp-lzo
user nobody
group nobody
persist-key
persist-tun
log-append /var/log/openvpn.log
verb 6
Code: Select all
client
dev tun
proto udp
remote <REMOTE-HOSTNAME> 1194
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
verb 3
<ca>
* THE CA INFO IS HERE *
</ca>
<cert>
* THE CERT INFO IS HERE *
</cert>
<key>
* THE KEY INFO IS HERE *
</key>