Re: iptables and stale DNS entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux