longzuyuan / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

tethering over vpn does not work #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.start openvpn client connection on device_A to openvpn server_B
2.start tethering (stock android 4.1 version) on device_A
3.connect with device_C to wifi hotspot on device_A

What is the expected output? 
expected device_C to have internet access over vpn tunnel created on device_A 
via server(B)

What do you see instead?
device_C can't ping to internet

What mobile phone are you using?
galaxy note 2 gt-n7100

Which Android Version and stock ROM or aftermarket like cyanogenmod?
4.1
androidrevolution HD 2.3.0

Please provide any additional information below.

################3###
device_A
#########
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1243 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1243 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:142739 (139.3 KiB)  TX bytes:142739 (139.3 KiB)

rmnet0    Link encap:Point-to-Point Protocol  
          inet addr:10.116.198.67  P-t-P:10.116.198.67  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:7857 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7421 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6746941 (6.4 MiB)  TX bytes:1150786 (1.0 MiB)

tun0      Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.8.1.14  P-t-P:10.8.1.14  Mask:255.255.255.252
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:809 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1033 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:302718 (295.6 KiB)  TX bytes:109186 (106.6 KiB)

wlan0     Link encap:Ethernet  HWaddr 38:AA:3C:14:63:33  
          inet addr:192.168.43.1  Bcast:192.168.43.255  Mask:255.255.255.0
          inet6 addr: fe80::3aaa:3cff:fe14:6333/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2521 errors:0 dropped:4 overruns:0 frame:0
          TX packets:3013 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:249623 (243.7 KiB)  TX bytes:2779043 (2.6 MiB)

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         *               128.0.0.0       U     0      0        0 tun0
default         10.116.198.1    0.0.0.0         UG    0      0        0 rmnet0
10.8.1.0        *               255.255.255.0   U     0      0        0 tun0
10.8.1.12       *               255.255.255.252 U     0      0        0 tun0
10.116.198.1    *               255.255.255.255 UH    0      0        0 rmnet0
77.249.213.35   *               255.255.255.255 UH    0      0        0 tun0
128.0.0.0       *               128.0.0.0       U     0      0        0 tun0
192.168.1.0     *               255.255.255.0   U     0      0        0 tun0
192.168.43.0    *               255.255.255.0   U     0      0        0 wlan0

###############
device_C:
##########
wlan0     Link encap:Ethernet  HWaddr 00:0C:F6:60:7E:DE  
          inet addr:192.168.43.20  Bcast:192.168.43.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:f6ff:fe60:7ede/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15251 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12677 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:16202697 (15.4 MiB)  TX bytes:1554821 (1.4 MiB)

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.43.1    0.0.0.0         UG    0      0        0 wlan0
192.168.43.0    *               255.255.255.0   U     9      0        0 wlan0

Original issue reported on code.google.com by gilu...@gmail.com on 4 Nov 2012 at 11:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by arne@rfc2549.org on 5 Nov 2012 at 8:09