|
At frst glance, ipchains and iptables appear to be quite
similar. After all, both methods of packet filtering use chains of rules
operating within the Linux kernel to decide not only which packets to let
in or out, but also what to do with packets that match certain rules, however,
iptables offer a much more extensible way of filtering packets, giving
an administrator a finer grained level of control without building too
much complexity into the entire system.
Specifically, users comfortable with ipchains should be aware of the following significant differences between ipchains and iptables before attempting to use iptables:
The advantage is that you now have finer-grained control
over the disposition of each packet. If you are attempting to block access
to a particular website, it is now possible to block access attempts from
clients running on hosts which use your host as a gateway. An OUTPUT rule
which denies access will no longer prevent access for hosts which use your
host as a gateway.
The iptables command is a bit pickier about where some
options may go. For example, you must now specify the source or destination
port after the protocol (ICMP, TCP, or UDP) to be used in a chain's rule.
|
|
See Also
Have a Linux Problem
Linux Books
Home Index
(c) www.gotothings.com All material on this site is Copyright.
|