MissJohn / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

Can't ping the vpn server trough the tunnel #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect to the VPN and can't ping the VPN server.  I can see phone is 
connected to the server and ifconfig on the phone shows the tun adapter 
received an IP address but I can ping the server no can I ping the phone from 
the server.  I don't get an arp entry either on the phone or the server.

What is the expected output? What do you see instead?
Should be able to ping the server.

What version of the product are you using?
OpenVPN-Settings-0.4.7.apk and OpenVPN-Installer-0.2.3.apk

Which Android phone are you using?
HD2

Which firmware version are you using?
2.2

Please provide any additional information below.
Basically copied the config/directory from a working linux computer on the 
sdcard.  The config works for the laptop but not the phone.  I can attach the 
server/client config if needed.  Also, I connect through a http proxy...

# /bin/route
/bin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.30.10.9     *               255.255.255.255 UH    0      0        0 tun0
10.72.225.22   10.40.255.1    255.255.255.255 UGH   0      0        0 eth0
172.30.10.1     172.30.10.9     255.255.255.255 UGH   0      0        0 tun0
192.168.20.0    *               255.255.255.0   U     0      0        0 usb0
10.40.255.0    *               255.255.255.0   U     0      0        0 eth0
192.168.1.0     172.30.10.9     255.255.255.0   UG    0      0        0 tun0
10.0.0.0       10.40.255.1    255.0.0.0       UG    0      0        0 eth0
default         172.30.10.9     128.0.0.0       UG    0      0        0 tun0
128.0.0.0       172.30.10.9     128.0.0.0       UG    0      0        0 tun0
default         10.40.255.1    0.0.0.0         UG    0      0        0 eth0
# /bin/ifconfig
/bin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:90:4C:C5:00:34
          inet addr:10.40.255.221  Bcast:10.40.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1320 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1536 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:158836 (155.1 KiB)  TX bytes:174725 (170.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1078 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1078 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:70280 (68.6 KiB)  TX bytes:70280 (68.6 KiB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
-00
          inet addr:172.30.10.10  P-t-P:172.30.10.9  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usb0      Link encap:Ethernet  HWaddr 2E:AB:7B:52:8B:12
          inet addr:192.168.20.1  Bcast:192.168.20.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# ping 172.30.10.9
ping 172.30.10.9
PING 172.30.10.9 (172.30.10.9) 56(84) bytes of data.
# arp -a
arp -a
? (10.40.255.1) at 00:00:0c:07:ac:03 [ether]  on eth0

Original issue reported on code.google.com by joseph.k...@gmail.com on 19 Oct 2010 at 1:17

GoogleCodeExporter commented 8 years ago
This is invalid.  I have a dns issue.  I can ping through the VPN tunnel.

Original comment by joseph.k...@gmail.com on 19 Oct 2010 at 2:50

GoogleCodeExporter commented 8 years ago
joseph, will you please tell how you solved this issue? I have been struggling 
with the exact same problem the last couple of days.

Original comment by kim.boeg...@gmail.com on 7 Nov 2010 at 9:39

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi Joseph, as Kim has mentioned, could u please let us know what was the issue 
and how to resolve it ?? Im facing the same prob too

Original comment by veen....@gmail.com on 25 Nov 2010 at 12:58

GoogleCodeExporter commented 8 years ago
I discovered that my problem was related to the firewall (iptables) on my 
DD-WRT based router, that hosts my OpenVPN server.

Original comment by kim.boeg...@gmail.com on 25 Nov 2010 at 4:24

GoogleCodeExporter commented 8 years ago

Original comment by friedrich.schaeuffelhut on 28 Dec 2011 at 11:54

GoogleCodeExporter commented 8 years ago
Hello, I have the same problem and it is not due to a firewall. Please fix it.

Original comment by fbcyb...@gmail.com on 29 Dec 2011 at 8:13