Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Zenon on April 06, 2002, 06:40:11 AM
-
Hi,
When my external ip address is changing, i need to restart portforwarding. It seems that there is no update of the external ip address. Has someone faced the same problem ? Is there an elegant solution ?
-
I solved thus:
uses FQDN instead IP
See example....
###Radmin example
ipmasqadm portfw -a -P tcp -L radmin1.dyndns.org 4898 -R 10.0.0.12 4899
-
I noticed this also, it seems that the ip-change event only does a restart-masq action. I added a symbolic link to conf-masq ahead of this to ensure that the portforwarding rules are rebuilt every time the IP address changes.
in /etc/e-smith/events/ip-change
ln -s ../actions/conf-masq S20conf-masq