Internet --- Modem/Router(with firewall) --- SME ---- LAN CLIENTS
I have the SME collecting it's ip by dhcp from the modem/router and if I do a search on www.whatismyipaddress.com I see the Proxy IP as the correct "internet" IP Address. I have set up my primary domain on the SME as my XXX.dyndns.org domain and the script on the server works and sends the IP address to DynDNS BUT it is sending the internal 192.168.1.101 address given to it by the modem not the correct final internet address......????
That's because that his the ONLY address the smeserver knows - the modem/router is getting your external IP.
Is there any way to configure the system/script to report back the correct outgoing final address to allow vpn etc????
A couple of options (in my order of preference):
1. Bridge the modem/router to just pass traffic straight through to the smeserver (ie. the modem/router ONLY acts as a modem - and then the smeserver will receive the external IP and know when it has changed)
2. If the modem/router has a DynDNS client use it (many later modem/routers do) and forward all appropriate ports (email, web, vpn, etc.) to the smeserver
3. Hack the appropriate dyndns script to use an ip address you pass from the config database (but how will the smeserver know that your IP has changed...?)
4. same as 3 with smeserver in server-only mode and all appropriate ports (mail, web, etc) forwarded to it.
Trevor B