On Mon, Jun 26, 2000 at 05:14:08PM -0500, Bob Hartung said:
> A basic ipchains question from a neophyte:
> I am using a two NIC P90 as a masquerade server for a DNS connection.
> When I write ipchain rules for Accept, Reject, or Deny how do I, or do I
> never, know which NIC I am appending rules for.
>
> Can I allow access from an internal machine to the masquerade server
> while not allowing access for the same protocol from the outside without
> refering to ip addresses or by knowing whether the input/output rule
> applies to one NIC or the other?
>
The answer is in the man pages for ipchains and also in the HOWTO's.
Basically, it consists of using "-i" or "--interface" and then the
interface name, e.g. eth0, eth1, etc. If you omit the this, then the
an empty string is assumed and will match any interface name.
HTH,
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.