Page 1 of 1
Android Client: Can use with mobile 'pone data, but not wifi
Posted: Fri Oct 03, 2014 9:38 am
by jimford
I'm using the Openvpn Android Connect client (1.1.14(build 56)) to connect to my home network via my DD-WRT router, running the server.
It works well using the mobile 'phone data connection, but doesn't connect using a wifi connection.
I would like to be able to use wifi when I'm 'out and about' to save using my mobile 'phone data allowance. Is this possible, please?
Jim
Does OpenVPN not work with a wireless connection (wifi)?
Posted: Sun Oct 05, 2014 4:22 pm
by jimford
I posted this subject under a different title a few days ago, but not had any responses, so maybe this post will!
I'm using the Openvpn Android Connect client (1.1.14(build 56)) to connect to my home network via my DD-WRT router, running the server.
It works well using the mobile 'phone data connection, but doesn't connect using a wifi connection.
I would like to be able to use wifi when I'm 'out and about' to save using my mobile 'phone data allowance. Is this possible, please?
Jim
Re: Android Client: Can use with mobile 'pone data, but not
Posted: Sun Oct 05, 2014 5:56 pm
by debbie10t
jimford wrote:I would like to be able to use wifi when I'm 'out and about' to save using my mobile 'phone data allowance. Is this possible, please?
Generally speaking .. most people have trouble with their mobile data not their WiFi.
So .. Yes .. It is possible.
Re: Android Client: Can use with mobile 'pone data, but not
Posted: Sun Oct 05, 2014 8:13 pm
by jimford
debbie10t wrote:jimford wrote:I would like to be able to use wifi when I'm 'out and about' to save using my mobile 'phone data allowance. Is this possible, please?
Generally speaking .. most people have trouble with their mobile data not their WiFi.
So .. Yes .. It is possible.
Thanks for the reply.
So where should I look in the configuration of the server or client, to see why I can't use a WiFi connection?
Jim
Re: Android Client: Can use with mobile 'pone data, but not
Posted: Mon Oct 06, 2014 10:58 am
by Traffic
Config files .. log files .. router/firewall logs .. crystal ball ..
Re: Android Client: Can use with mobile 'pone data, but not
Posted: Tue Oct 07, 2014 2:38 pm
by jimford
Traffic wrote:Config files .. log files .. router/firewall logs .. crystal ball ..
I don't think it's the router. If I turn off the firewall, I still can't connect. The router logfile (/var/log/messages) shows nothing pertinent. Also, if I do 'tail -f /var/log/messages' I see no activity while trying to connect.
The Android client shows no incoming bytes from the server. The log is typically:
EVENT:WAIT
connecting to <myserver>:1194 via UDP
EVENT:WAIT
Connecting to <myserver>:1194 via UDPv4
Server poll timeout, trying next remote entry -
EVENT:RECONNECTING
LZO_ASYM init swap=0 asym=0
EVENT:RESOLVE
Contacting <myserver>:1194 via UDP
EVENT:WAIT
Connecting to <myserver>1194
EVENT:CONNECTION_TIMEOUT
EVENT:DISCONNECTED
EVENT:CORE_THRED_INACTIVE
Tunnel bytes per CPU second:0
- OpenVPN Stop -
As I mentioned in my original post, I can connect OK using my mobile 'phone data allowance, if I turn WiFi off.
I'm stumped, so I guess it's down to the crystal ball!
Jim
Re: Android Client: Can use with mobile 'pone data, but not
Posted: Tue Oct 07, 2014 6:58 pm
by Traffic
So what does your server have to say ?

Re: Android Client: Can use with mobile 'pone data, but not
Posted: Mon Oct 13, 2014 2:58 pm
by jimford
Traffic wrote:So what does your server have to say ?

The following appears to be the relevant part:
With a mobile 'phone data connection, I get:
20141013 11:34:14 82.132.230.202:36511 TLS: Initial packet from 82.132.230.202:36511 sid=a2e94d63 367b6d8d
20141013 11:34:20 82.132.230.202:36511 VERIFY OK: depth=1
82.132.230.20 is my mobile network IP address.
With an attempted WiFi connection I get:
20141013 10:35:20 192.168.1.6:59108 TLS: Initial packet from 192.168.1.6:59108 sid=a8acfcf5 2886e48b
20141013 10:35:20 N read UDPv4 [ECONNREFUSED]: Connection refused (code=146)
192.168.1.6 is the IP address provided by my dd-wrt router.
So why is the IP address 82.132.230.20 accepted, but 192.168.1.6 refused? I'm
guessing it's a routing problem.
Jim
Re: Android Client: Can use with mobile 'pone data, but not
Posted: Mon Oct 13, 2014 6:53 pm
by Traffic
jimford wrote:With an attempted WiFi connection I get:
20141013 10:35:20 192.168.1.6:59108 TLS: Initial packet from 192.168.1.6:59108 sid=a8acfcf5 2886e48b
20141013 10:35:20 N read UDPv4 [ECONNREFUSED]: Connection refused (code=146)
This suggests you are connecting on WiFi in your own network to the VPN offered by your DD-WRT router ..
Maybe the router is configured to refuse internal connections as the client is already inside your private network.
Perhaps, find some free WiFi provider, like a local Watering hole and try from there.
Sorry, I don't know for sure as I only use real OpenVPN on Linux not DD-WRT.
Re: Android Client: Can use with mobile 'pone data, but not
Posted: Mon Oct 13, 2014 7:54 pm
by jimford
Traffic wrote:jimford wrote:With an attempted WiFi connection I get:
20141013 10:35:20 192.168.1.6:59108 TLS: Initial packet from 192.168.1.6:59108 sid=a8acfcf5 2886e48b
20141013 10:35:20 N read UDPv4 [ECONNREFUSED]: Connection refused (code=146)
This suggests you are connecting on WiFi in your own network to the VPN offered by your DD-WRT router ..
Maybe the router is configured to refuse internal connections as the client is already inside your private network.
Perhaps, find some free WiFi provider, like a local Watering hole and try from there.
Good point. I might take a stroll to our local library tomorrow and give it a try.
Thanks for the reply.
Jim
Re: Android Client: Can use with mobile 'pone data, but not
Posted: Sat Oct 03, 2015 9:26 am
by zerbo1000
hello there,
i'm having the same problem, on my phone it works but when i use my phone as router wi fi , internet dosen't work on computer,
what can i do please??