[Wylug-help] Re: simple iptables rule

lee at leeevans.org lee at leeevans.org
Tue Feb 15 16:51:40 GMT 2005


hi,

very simply:

iptables -A INPUT -i eth1 -s your.ip.address.here -j ACCEPT
iptables -A INPUT -i eth1 -j DROP


lee

Gary Stainburn writes:

> Hi folks.
>
> I've got a RH7.3+errata box with eth1 visible to the internet. eth0 is
> internal.
>
> What do I need to put where so that iptables limits access to eth1 to 1
> specifc IP address while not affecting eth0 at all.
>
> Cheers
>
> Gary
> --
> Gary Stainburn
>
> This email does not contain private or confidential material as it
> may be snooped on by interested government parties for unknown
> and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
>
>
> _______________________________________________
> Wylug-help mailing list
> Wylug-help at wylug.org.uk
> http://list.wylug.org.uk/mailman/listinfo/wylug-help





More information about the Wylug-help mailing list