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

Re: iptables





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 ralii com>
Subject: Re: ip tables
To: For users of Fedora <fedora-list redhat com>
Message-ID: <1187144144 11144 23 camel rlt60f7 laptop redhat com>
Content-Type: text/plain

On Wed, 2007-08-15 at 01:26 +0000, tony chamberlain 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





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