I'm having trouble with my slackware 10 linux box which acts as a router for the rest of my network (2 NICs). All of the services on it work perfectly from my other computer (xp home) on the network but i can't access anything from outside of it- http doesnt work, i can't send email from the network. I can access websites and aim and such. I'm using the simple firewall configuration rc.firewall-2.4 script that comes with the ip-masquerade howto. If it means anything, when i try to use the more secure version (rc.firewall-2.4-stronger), i get the error message:
Starting mysqld daemon with databases from /var/lib/mysql
/usr/sbin/nmbd -D
Starting gpm: /usr/sbin/gpm -m /dev/mouse -t imps2
Starting Network...
SIOCADDRT: Invalid argument
IPv4 forwarding initialized.
usage /etc/rc.d/rc.ip_forward start|stop|restart
Loading the firewall ruleset...
: bad interpreter: No such file or directory/bin/sh
and nothing starts.
Is this a firewall configuration problem? It looks like the ports are open:
output of nmap
nmap localhost
Starting nmap 3.50 (
http://www.insecure.org/nmap/ ) at 2004-08-06 15:50 EDT
Interesting ports on localhost (127.0.0.1):
(The 1644 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
37/tcp open time
53/tcp open domain
80/tcp open http
110/tcp open pop3
111/tcp open rpcbind
113/tcp open auth
139/tcp open netbios-ssn
143/tcp open imap
587/tcp open submission
631/tcp open ipp
901/tcp open samba-swat
953/tcp open rndc
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
git-net * 255.255.255.0 U 0 0 0 eth1
68.100.30.0 * 255.255.254.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default ip68-100-30-1.d 0.0.0.0 UG 0 0 0 eth0
I'm not sure if these problems are related or not. Thanks for any help you can give!