b stephen harding wrote:
Hi,
I'm trying to make a linux(SuSE) firewall/router/gateway for my for my wife's WinME box and my SuSE box. I've scanned the SuSE manual, "Linux Networking: Clearly Explained" and "Linux Network Servers". After all that I'm still was what still in the dark.
So I've got my firewall/gateway/router box.
with
External eth0 24.x.x.x(IP), 24.x.x.1(gateway), crxxxx-a.slnt1.on.wave.home.com(Domain)
Internal eth1 192.x.x.1(IP), 192.168.100.7(gateway), geeko-gate.crxxxx-a.slnt1.on.wave.home.com(Domain)
My Box 192.x.x.2(IP), 192.168.100.7(gateway), geeko-deville.crxxxx-a.slnt1.on.wave.home.com(Domain)
My Wife's Box 192.x.x.3(IP), 192.168.100.7(gateway), geeko-babe.crxxxx-a.slnt1.on.wave.home.com(Domain)
Well that is the present setup. However I seem to be missing something, because this neither geeko-deville nor geeko-babe can get to the outside work. I did an ifconfig and the two nics seem to be working fine as far as I can tell. So if you have and bright ideas as to where to go next please let me know. Thanks.
I got a box going like you want on a cable modem. Check the file /etc/rc.config.d/firewall2.rc.config This is extremely useful and pretty easy to setup. I take its 7.2? Also, check /etc/rc.config and look for the eth0 and eth1 lines. Here is my entries for /etc/rc.config # number of network cards: "_0" for one, "_0 _1 _2 _3" for four cards # NETCONFIG="_0 _1" # IP Adresses # IPADDR_0="24.9.170.162" # External address IPADDR_1="192.168.0.1" # Internal address IPADDR_2="" IPADDR_3="" # # parameteres for ifconfig, simply enter "bootp" or "dhcpclient" to use the # respective service for configuration # sample entry for ethernet: # IFCONFIG_0="192.168.81.38 broadcast 192.168.81.63 netmask 255.255.255.224" # IFCONFIG_0="24.9.170.162 broadcast 24.9.170.255 netmask 255.255.255.128 up" IFCONFIG_1="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0" IFCONFIG_2="" IFCONFIG_3="" Then go to yast and put in your gateway address for the external device, you can of course do that first. Or you can edit the file /etc/route.conf 24.9.170.128 0.0.0.0 255.255.255.128 eth0 default 24.9.170.129 Let me know if you need any more help. Do not forget to run run SuSEconfig either. Matt