Unable to surf in the internet but able to traceroute

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
jkw
OpenVpn Newbie
Posts: 2
Joined: Wed Aug 27, 2014 3:54 pm

Unable to surf in the internet but able to traceroute

Post by jkw » Wed Aug 27, 2014 4:19 pm

Hey guys, I've a behavior here that I can't explain, maybe you know whats going on.

Setup:
- Nexus 5, running OpenVPN as client via mobile network, mobile ip 172.56.xxx
- Raspberry pi running OpenVPN as server, connected to my AT&T Router at 192.168.1.254
- Server eth0: 192.168.1.74
- Server tun0: 10.8.0.1 P-t-P: 10.8.0.2
- Server route: 192.168.1.x -> eth0
- Server route: 10.8.0.2 -> tun0
- Server route: 10.8.0.x > tun0 via gw 10.8.0.2
- Server route: else -> eth0 via gw 192.168.1.254

What I have tested:
- I can connect with my nexus to the raspberry
- Nexus 5 IP: 10.8.0.2
- Nexus can ping 192.168.1.74
- Nexus can ssh 192.168.1.74
- Nexus CAN NOT browse (chrome/firefox) to 192.168.1.74 <- strange ... there is a apache server running and i can reach the server when i'm in the wlan
- Nexus CAN NOT browse (chrome/firefox) to http://www.wieistmeineip.de <- strange (that is a german service tellin you just your ip)
- Nexus can traceroute to http://www.wieistmeineip.de
- I've logged my traffic using tcpdump on the raspberry

- 1. Session:
-- Nexus is connects via OpenVPN
-- Nexus browses to http://www.wieistmeineip.de <- no response
-- Evaluating the tcpdump file shows:
--- DNS request form 192.168.1.74 to 192.168.1.254 for http://www.wieistmeineip.de
--- 192.168.1.254 responses with DNS entrie
--- 192.168.1.74 sends data to 172.56..... via OpenVPN protcol
--- some more messages
--- 192.168.1.74 requests webpage at 212.19.62.76
--- 212.19.62.76 sends multiple tcp frames to 192.168.1.74
--- 192.168.1.74 sends multiple OpenVPN frames to 172.56.....

- 2. Session:
-- Nexus is connects via OpenVPN
-- Nexus runs traceroute to http://www.wieistmeineip.de <- works fine, first node is 10.8.0.1, than 192.168.1.254, than 172.12.212.2, ... all the way down to 212,19.62.76
-- Evaluating the tcpdump file shows more or less the same as above + all the timeouts ... as expected

so it feels as if the routing is working and the vpn as well. but why the hack are chrome and firefox not capable of showing the damn webpage?
Thanks for any help!
JKW

jkw
OpenVpn Newbie
Posts: 2
Joined: Wed Aug 27, 2014 3:54 pm

Re: Unable to surf in the internet but able to traceroute

Post by jkw » Wed Aug 27, 2014 5:42 pm

Update:
I've used my Nexus 5 as hotspot and my laptop as openvpn and everything works as expected.
I can reach www.wieistmeineip.de as well as 192.168.1.74.
So it must have something to do with the android environment.
JKW

Post Reply