(E-Mail Removed) (circuit_breaker) said:
>I'm using FreeBSD as a router and it works well so far. In the past,
>I've been using RH 7 and ipchains to do basically the same. I
>installed version 9.1 and the ipchains command is no longer
>recongnized... I just want to do something like:
>
>ipchains -P forward DENY
>ipchains -A forward -j MASQ
>echo 1> /proc/sys/net/ipv4/ip_forward
>
>How do I "activate" ipchains?
In recent RH distributions, ipchains has been replaced by iptables.
For that simple configuration there isn't much differences, I think
it'd be
iptables -P FORWARD DENY
iptables -A FORWARD -j MASQ
echo 1> /proc/sys/net/ipv4/ip_forward
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)