Traffic wroteSo the URL you use is
http://10.8.0.1/ ?
Try tcpdump on the server to see what the source IP is when you try to connect to the web server.
Thanks for the information,
I tried tcpdump on the server, I monitored the eth0 interface and the tun0 interface. Also I set the open VPN logs to level 6.
While connected using 3G if I connect the ssh I see:
- traffic in eth0 between the 3G ip and vpn server local ip (192.168....)
- traffic in tun0 between the android vpn ip (10.8.0.6) and server vpn ip (10.8.0.1)
- traffic in the Open VPN logs.
While connected using 3G if I connect the browser to the 10.8.0.1 server I see:
- no traffic in eth0
- no traffic in tun0
- no traffic in OpenVPN
Note: when I say no traffic I am ignoring the 53 byte traffic that is happening all the time (connection keep alive, I guess)
When I connect via wifi both ssh and browser works, the difference is that the traffic in eth0 is between my wired ISP ip and the server local ip.
I did one additional test, using an android telnet client, I was able to connect to the webserver port via the vpn and see the traffic in eth0, tun0 and OpenVPN logs. :o :?
Just as a sanity check I also checked the routing tables and the ips 10.8.* are being send to the tun0 interface in android.
I tried increasing the OpenVPN logs in Android by changing the ovpn to verb 6 but it produced no additional logs, am I missing something here?
Best Regads