Web access problem with Android Nexus 7
Posted: 08 Apr 2013 23:39
I did a test to be able to access my Razberry from the internet. As the rasberry has a private IP, i used an internet debian server with port forwarding and a OpenVPN tunnel between Razberry and debian server.
Here is my solution:
Razberry.......................DSL router......Internet.........Debian server.........Internet..........Client Android
ETH0............................ETH0................................................ETH0.................................WLAN0
192.168.0.41...............192.168.0.1................................195.1.2.3................................87.1.2.3
TUN0==========OpenVPN Tunnel========TUN0
10.8.0.6...................................................................10.8.0.1
The idea is to give access to my Razberry to all Internet connected clients.
To access the razberry web interface I enter 195.1.2.3:8083 on the client and it is forwarded to 192.168.0.41:8083 over the OpenVPN tunnel
I also have the Mini Demo Code, you proposed here https://github.com/PoltoS/z-way-mini-ui/, on the Razberry (apache2), to access it I enter 195.1.2.3:80 on the client and it is forwarded to 192.168.0.41:80 over the OpenVPN tunnel.
Everything is working fine from my laptop (windows and Linux), I can access both web interface and mini demo code.
But with my Android Nexus 7 Tablet, I can only access the mini Demo Code. When trying to access the web interface the connection hang.
I thought it could be problem with MTU on android, but I don't understand why mini code is ok and normal web interface is not OK...
I tried to reduce the MTU of the OpenVPN tunnel and i test it with MTU-test, but it is still the same.
Have you any idea to help me to access the web interface?
Thanks
A. Devaud
Here is my solution:
Razberry.......................DSL router......Internet.........Debian server.........Internet..........Client Android
ETH0............................ETH0................................................ETH0.................................WLAN0
192.168.0.41...............192.168.0.1................................195.1.2.3................................87.1.2.3
TUN0==========OpenVPN Tunnel========TUN0
10.8.0.6...................................................................10.8.0.1
The idea is to give access to my Razberry to all Internet connected clients.
To access the razberry web interface I enter 195.1.2.3:8083 on the client and it is forwarded to 192.168.0.41:8083 over the OpenVPN tunnel
I also have the Mini Demo Code, you proposed here https://github.com/PoltoS/z-way-mini-ui/, on the Razberry (apache2), to access it I enter 195.1.2.3:80 on the client and it is forwarded to 192.168.0.41:80 over the OpenVPN tunnel.
Everything is working fine from my laptop (windows and Linux), I can access both web interface and mini demo code.
But with my Android Nexus 7 Tablet, I can only access the mini Demo Code. When trying to access the web interface the connection hang.
I thought it could be problem with MTU on android, but I don't understand why mini code is ok and normal web interface is not OK...
I tried to reduce the MTU of the OpenVPN tunnel and i test it with MTU-test, but it is still the same.
Have you any idea to help me to access the web interface?
Thanks
A. Devaud