On Tue, Feb 20, 2001 at 02:17:17PM -0000, Adrian Flynn mentioned:
> This seems a simple solution... I am currently using ipchains on the
> firewall/load balancer. Is it a big job to switch to iptables? The benefits
> would seem to be worthwhile.
It's a big enough difference, but not massive. For a start, you get
stateful rules; so you can do stuff like
iptables -A FORWARD -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
to accept all inbound (assuming eth0 is the external interface) traffic,
that's due to an existing outbound connection. Well good.
Packet Marking also rocks. You can just mark packets you like, or don't
like, and then at the end of your file, do something to them. One great
use is "imagine if you had 70 machines, all with different IPs & subnets,
and you want all of them to have inbound http". Just mark each one, and
then use a single rule to do something with those marked packets. Much
hander than having 70 rules (plus another 70 to handle inbound stuff).
> Note that I am using the SuSE 7.0 Professional distribution. This is
> published with an iptables package, yet all the iptables documentation
> refers to kernel 2.3 or above. Is this a SuSE patched version? The SuSE
> website is down at the moment, so I can't check it out.
Do a search for "Rusty's unreliable guides". There is next to no
documenation for iptables, unfortunately. Again, iptables is a 2.4 thing.
Kate
--
When I say 'free', I mean 'free': free from bond, of chain or command:
to go where you will, even to Mordor, Saruman, if you desire. "
-- Gandalf, paraphrasing the choice between Free and Non-free software
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!