kernel 2.0.30 causes masquerading problems
After compiling a new kernel for my debian 1.3 system, I've run into a
little problem. At least I think the new kernel is to blame as this is
the only thing to have changed recently.
First, I use IP masquerading so my networked NT 4.0 box can access the
internet. I've made a little rc.d script (S20/K20) to set the rules
which
goes as follows:
-- BEGIN --
case "$1" in
start)
/sbin/ipfwadm -F -a m -S 192.168.2.0/24 -D 0.0.0.0/0
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -I -p accept
/sbin/ipfwadm -O -p accept
echo "Firewall and masquerading rules set"
;;
stop)
/sbin/ipfwadm -F -f
/sbin/ipfwadm -I -f
/sbin/ipfwadm -O -f
;;
*)
echo "Usage: /etc/init.d/ipfw {start|stop}"
exit 1
esac
exit 0
-- END --
This worked fine with 2.0.27 but is broken now. There are no error
messages or anything. Here is the contents of /proc/net/ip_forward:
-- BEGIN --
IP firewall forward rules, default 0
C0A80200/FFFFFF00->00000000/00000000 - 00000000 204 0 0 0 0 0 0 0 0 0 0 0 0 0 0 AFF X00
-- END
Perhaps the version of ipfwadm is out of sync with the kernel version?
Mine is from netbase 2.13-1. Other than that, I can't think whats wrong.
Anyone have any ideas?
-- Jaldhar
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: