Click to See Complete Forum and Search --> : My gateway/firewall quit after a reboot :( Help!


Butros
11-16-2000, 09:13 PM
Ugh, I had a perfect set up a RedHay 6.2 box with NIC and Modem... I would type wvdial, ndc start, ipfwadm -F -p deny, ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0

then on my win98 box just fire up IE and surf.

This worked beautifully till today... I had to reboot and then BLAMO! I cannot get the Linux box to see the win box (ping) but I can ping the linux box from the Win98 box.

What gives? nothing changed.

the server(linux) == 192.168.1.2
win98 box == 192.168.1.3

Please for the love of god, I sure hope someone can help. This is the frustration I do not need right now (finals coming up http://www.linuxnewbie.org/ubb/smile.gif

ThanX,
Butros

------------------
Error: Keyboard not attached. Press F1 to continue.

H++
11-16-2000, 09:23 PM
Now this is a daring guess but you could try and add those commands to /etc/rc.d/rc.local (or any startup script you prefer)

Hope it helps.
/Hilding

Butros
11-16-2000, 11:03 PM
Thanks but that won't help, see now when I do the "ndc start" it actually cuts my ability to ping my other win box. And further more what is wierd, is that when I connect via wvdial I cannot get on the net or ping any outside sites... it seems to not seeing the DNS- but the DNS is fine my other boxes connect fine.

I cannot figure this out, and it is going to mean a full re-install because I cannot figure ths out... I have spent over 30 hours so far to no avail.

Please any help?
Butros

P.S. thanks for trying H++ http://www.linuxnewbie.org/ubb/smile.gif

------------------
Error: Keyboard not attached. Press F1 to continue.

speck
11-16-2000, 11:18 PM
You might want to give a program called rc.firewall a try. http://jsmoriss.mvlan.net/linux/rcf.html
It is a set of scripts that builds the firewall rules. It also has support for masquerading and port forwarding. I used the rpm version and everything worked for me right out of the box. You can just restart the firewall script (as root) when you connect to the Internet and it will redo the rules so you can surf.

Speck