iptables

tony.chamberlain at lemko.com tony.chamberlain at lemko.com
Wed Aug 15 12:05:45 UTC 2007



I am afraid I still don't quite understand. If I use -i eth0 that would be all the IP addresses coming in on
eth0, not just mine (eg 10.0.0.80). Or am I missing something?

------------------------------

Message: 9
Date: Tue, 14 Aug 2007 22:15:44 -0400
From: Robert Locke <lists at ralii.com>
Subject: Re: ip tables
To: For users of Fedora <fedora-list at redhat.com>
Message-ID: <1187144144.11144.23.camel at rlt60f7.laptop.redhat.com>
Content-Type: text/plain

On Wed, 2007-08-15 at 01:26 +0000, tony.chamberlain at lemko.com wrote:
> 
> Any way to have IP tables always allow itself (its IP address) without
> having to change the
> table every time you change a machine's IP address? Besides 127.0.0.1
> that is, because,
> say a machine is 10.0.0.80. If 10.0.0.80 is not in IP tables, then
> you can still send if you send
> to 127.0.0.1 but not if you send, as we sometimes have to, from
> 10.0.0.80 to 10.0.0.80.
> If you put 10.0.0.80 and then change the IP address you have to change
> IP table.
> 

Take a look at the -i and -o options and simply assign them to the
"interface", say eth0....

HTH,

--Rob





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20070815/ffb003c3/attachment-0002.html 


More information about the users mailing list