Android client connecting to my personal OpenVPN server, but not updating IP.

atoy3731
OpenVpn Newbie
Posts: 1
Joined: Sat May 06, 2017 5:57 pm

Android client connecting to my personal OpenVPN server, but not updating IP.

Postby atoy3731 » Sat May 06, 2017 6:08 pm

Hi all,

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:
Image

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


And lastly, my client config:

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>

dffvb
OpenVpn Newbie
Posts: 1
Joined: Mon Jun 05, 2017 12:29 am

Re: Android client connecting to my personal OpenVPN server, but not updating IP.

Postby dffvb » Mon Jun 05, 2017 12:30 am

I have exactly the same question... I got ther server up and running and from android device it tells me another ip than from the server, how?


Return to “OpenVPN Connect (Android)”

Who is online

Users browsing this forum: No registered users and 2 guests