Page 1 of 1

Cannot ping server when connected from mobile phone

Posted: Fri Aug 12, 2011 6:24 pm
by teb76
Hi to all,
hoping to be in the right section of the forum.
I configured my vpn having the server at my home on a windows 7 machine, behind a router, with a dynamic IP address but using a dynamic dns dyndns.org
I first tried to connect from my laptop (windows xp) via mobile tethering and all has gone ok, all works fine, I see the server and all of the rest of the machine connected to the server lan.
The problem is when I try to connect directly from the mobile phone, using openvpn for android. The connection is made without problem (I see from both the server and the client logs) but I'm not able to ping the server, nor to see any machine.
Someone can guide me throug solve this issue?
Thank you in advance

Re: Cannot ping server when connected from mobile phone

Posted: Sat Aug 13, 2011 7:24 am
by teb76
Any idea from nobody ?

Here is my client log http://pastebin.com/xKRP71iT
Here is my server log http://pastebin.com/qgyu7h1s

Re: Cannot ping server when connected from mobile phone

Posted: Sat Aug 13, 2011 9:39 am
by maikcat
hi there,

i dont know much about android but these..

>Sat Aug 13 09:53:24 2011 us=934047 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:1: route (2.1.1)
#
Sat Aug 13 09:53:24 2011 us=934574 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:3: route (2.1.1)
#
Sat Aug 13 09:53:24 2011 us=935133 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:7: ifconfig (2.1.1)

is there a way to run openvpn as root ?

Michael.

Re: Cannot ping server when connected from mobile phone

Posted: Sat Aug 13, 2011 1:48 pm
by teb76
Yes, on a rooted device and a rom

Re: Cannot ping server when connected from mobile phone

Posted: Sun Aug 14, 2011 11:25 am
by maikcat
>Yes, on a rooted device and a rom

and a rom??!?

i didnt quite understand the above
all i meant was if you run openvpn with admin priviledges
is it works or not?

Michael.

Re: Cannot ping server when connected from mobile phone

Posted: Sun Aug 14, 2011 11:29 am
by teb76
Solved, it was a well-known issue installing openvpn on android, it needs to properly point to the symilink of the busybox ifconfig and route

Re: Cannot ping server when connected from mobile phone

Posted: Tue Aug 16, 2011 9:03 am
by maikcat
ok then

closing topic.

Michael.