Koozali.org formerly Contribs.org

Portforwarding & Dynamic DNS

Zenon

Portforwarding & Dynamic DNS
« 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 ?

Luciano Terra

Re: Portforwarding & Dynamic DNS
« Reply #1 on: April 06, 2002, 08:01:42 AM »
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

Martin Warnes

Re: Portforwarding & Dynamic DNS
« Reply #2 on: April 07, 2002, 03:40:29 PM »
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