The following ipchains rules are working for kernel 2.2.x. Which are
the corresponding rules with ipbables and kernel 2.4.x?
Which modules to load?
2.2.x: working
/sbin/modprobe ip_masq_ftp
ipchains -P forward DENY
ipchains -A forward -s 192.168.0.4 -j MASQ
2.4.x: my attempt, not working
/sbin/modprobe ipt_MASQUERADE. parameters should be given here
ipchains -P forward DENY
iptables -A POSTROUTING -t nat -p tcp -s 192.168.0.4 -j MASQUERADE
Can /etc/rc.d/rc.local do branching, loading one set of rules for
kernel 2.2.x and another for 2.4.x? If not, other solutions?
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list