iptables and stale DNS entries
Mike Burger
mburger at bubbanfriends.org
Mon Aug 30 03:29:10 UTC 2004
On Sun, 29 Aug 2004, Rob Cartier wrote:
> I have a client that has a (cable ISP) dynamic Ip address assignment
> and while it doesn't change often it does change.
>
> I have added the machine to my iptables for pop3 and ssh by using
> the host name that is registered with dyndns.org but if it changes
> I need to restart iptables so that the updated address is in effect.
>
> Is there anything else I can set in the iptables rules to have it work
> more dynamically besides restarting my iptables scripts.
Instead of referencing the IP, you could just reference the interface, ie.
"-i eth0" or "-i eth1" for incoming interface or "-o eth0" or "-o eth1"
for outgoing interface.
--
Mike Burger
http://www.bubbanfriends.org
Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:
site-update-request at bubbanfriends.org
with a message of:
subscribe
More information about the fedora-list
mailing list