MBuechle
06-20-2002, 07:01 PM
Hi,
I'm trying to set up my old laptop as a firewall/masq box for my DSL link. It's running RH 7.1, kernal 2.4.9-21. I've re-compiled to enable netfiltering per the IP Masquerade HOWTO but somethings still not right. If I try to run the rc.firewall-2.4 script, I get messages that several required modules don't exist. I found them in the /lib/modules/linux-2.4.9-21 directory tree and tried to modprobe them but got the same response. I'm looking at the file on a directory listing but am told by modprobe that it doesn't exist! If I try to run the ipchains script that redhat installed in /etc/rc.d/init.d, I get a message that iptables could not find the table and do I need a Kernel or iptables upgrade? I tried to apply the iptables 1.2.6a patch to my kernel but it failed. Any ideas? I did not make clean before I built, could that cause this? My current version of iptables is 1.2.1a as supplied with my RH dist. The original kernel with that dist was 2.4.2.
This machine is a 486-50 so every kernel/module build is an 8hr. project. Also, everything is done from the command line, too slow for X, besides, this is a dedicated firewall box, I don't want anything unnecessary running. Any input would be greatly appreciated! I hate it when things don't work the way the book says they're suppose to!
Mark
I'm trying to set up my old laptop as a firewall/masq box for my DSL link. It's running RH 7.1, kernal 2.4.9-21. I've re-compiled to enable netfiltering per the IP Masquerade HOWTO but somethings still not right. If I try to run the rc.firewall-2.4 script, I get messages that several required modules don't exist. I found them in the /lib/modules/linux-2.4.9-21 directory tree and tried to modprobe them but got the same response. I'm looking at the file on a directory listing but am told by modprobe that it doesn't exist! If I try to run the ipchains script that redhat installed in /etc/rc.d/init.d, I get a message that iptables could not find the table and do I need a Kernel or iptables upgrade? I tried to apply the iptables 1.2.6a patch to my kernel but it failed. Any ideas? I did not make clean before I built, could that cause this? My current version of iptables is 1.2.1a as supplied with my RH dist. The original kernel with that dist was 2.4.2.
This machine is a 486-50 so every kernel/module build is an 8hr. project. Also, everything is done from the command line, too slow for X, besides, this is a dedicated firewall box, I don't want anything unnecessary running. Any input would be greatly appreciated! I hate it when things don't work the way the book says they're suppose to!
Mark