basic linux firewall configuration
Posted on 2000-03-19
I have a redhat 6.1 computer with 2 network cards in it. I have a cable modem with a static ip. my normal configuration for internet access is IP:18.104.22.168 DG:22.214.171.124 . So on the computer with the firewall I set the first card with that IP, then on the second card (eth1) I am using 192.168.1.1 .
From the firewall computer I can ping the internet and my computer with the 192.168 IP number (192.168.1.2 /WIN 98 machine).
From the win98 machine I can ping the 192.168.1.1 ip and I can ping the 126.96.36.199 ip for eth0, but I can't ping 188.8.131.52 (Default gateway).
Internet_ _ \|firewall|/_ _ _ Win98
Does that help?
I have IP_forawrding turned on (1)
I think the problem lies in the default gateway setting for the win98 machine? Do I tell it 184.108.40.206 or 192.168.1.1?
or do I use the default gateway from my ISP 220.127.116.11?