[H-GEN] IPTABLES
rickp at suntech.net.au
rickp at suntech.net.au
Sun Nov 6 20:23:16 EST 2005
I am hopeless at iptables and need a rule which will block attempts to
communicate with other servers on a net via multiple ethernet connections.
In other words Server A is on the internet behind NAT and is connected to
network B via eth0 and network C via eth1. I need to prevent access from
server A to B and C but allow B & C to connect to A.
I can't afford to get this wrong and need some help. Would -
IPTABLES -A OUTPUT -d -o eth0 -j DROP
IPTABLES -A OUTPUT -d -o eth1 -j DROP
do the trick?
I need to put these in a script which runs at startup to reload them do I
not?
Thanks in advance,
Rick Phillips
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
More information about the General
mailing list