mardi 12 mai 2015

Android, local server, WiFi and hosts topic


Hi!

I have just built a local server with Pydio (like Dropbox) on NGINX.

I want to access that website and its application when I am connected to my LAN and when I am outside (in the street by example).
The problem is that, if I am outside it is OK, because when I enter the URL it works but when I am on my LAN, url does not work but without including the nameserver and private IP to /etc/hosts.

Does anyone know a global solution to fix it?
Maybe using iptables in the router?


Thanks in advance

xda-developers