Tord Romstad wrote:Could you please give some hints about what sort of additional configuration would be necessary for the average user?
Well I'll try to explain the problem,
lets assume an home user with notebook, desktop, iPhone and wlan-router. While installation the router got i.e. the "free to use" private network range 192.168.100.0. With the routers DNS-server, or via static ip addresses, we have this situation for example:
Code: Select all
ip router = 192.168.100.1
ip notebook (WLAN) = 192.168.100.101
ip desktop (LAN) = 192.168.100.102
ip iPhone (WLAN) = 192.168.100.103
ip iPhone (3G) = 83.99.1.2
ip router (ISP) = 79.85.3.4
A WLAN connection from the iPhone (192.168.100.103) to the GlaurungServer, runnning on the dektop (192.168.100.102) or notebook (192.168.100.101) is now possible (most likely) without additional config. Because both are living in the same local network and default options for a firewall on the notebook/desktop should allow this.
Things change, when you try to connect the iPhone via 3G (83.99.1.2) to your LAN. Now you can't simply connect to 192.168.100.101 or .102 because these ip-numbers are not related to "your" local network. As they are free to use, they exists many times in the real word. The only unique adress is the one, which your router got from your
internet
service
provider (in our case 79.85.3.4).
You have written in the Server doku
Before you can connect to GlaurungServer from your iPhone, you need
the IP address of the computer the server is running on. If you are
not sure what your IP address is, you can find it by visiting the web
site
http://www.whatismyip.com.
The response from
www.whatismyip.com is
the isp-ip address of your router! Likely the router has to be configured allowing these outside connections from your iPhone forwarding them to your desktop/notebook. Depending to the OS GlaurungServer is running on, also some firewall settings has to be done there.
BTW, get the info about your own local ip address in a terminal with
ipconfig command.
Hope this helps a bit,
Max