for those of you looking for netfilter firewall/masq scripts for 2.4, Ira
Abramov has been gracious enough to post his netfilter script online, at
http://ira.abramov.org/linux/dialnetfilter.init.html
ths script i'm using is a derivative of this one:
http://t245.dyndns.org/~monmotha/firewall/index
Hi mulix,
You can do that simply by:
iptables -P FORWARD ACCEPT
iptables -A FORWARD -i ppp0 -m state --state NEW,INVALID -j REJECT
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
The first line sets up the forwarding allowing you to use
the computer as
hello,
would one of the people who have masquerading (or rather, SNAT if your ip
is static) working with kernel 2.4 and iptables please give me a shout and
their firewall script? i'm running into some weird problem here.
thanks in advance!
--
mulix
http://www.advogato.com/person/mulix
linux/re