🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.uu.comp.os.linux.questions
Article #249

firewall problem/query

#249
From: Daryl Lim
Date: Tue, 03 Feb 1998 00:00
45 lines
2733 bytes
I need some help in setting up a firewall

I have installed Linux Slackware 3.4 on a 386 Dx 40 box and have the
two network cards operating . I have also subnetted a Class C address
with a netmask of 255.255.255.192 . 4 subnets ..

#1 xxx.xxx.xxx.1 - 63 - All the PC's are here and the internal
#2 xxx.xxx.xxx.64 - 127 - future reserved
#3 xxx.xxx.xxx.128 - 191 - future reserved
#4 xxx.xxx.xxx.192 - 255 - Where the external and router sit

I have enabled TCP/IP firewall , TCP/IP forwarding / gateway etc and
recompile the kernel 2.0.33 . I also have a router at xxx.xxx.xxx.254
. The two network cards have a address of .1 internally and .250
externally .. with a netmask of 255.255.255.192 right ?

The PC's are told the gateway is .1 . And a ping shows that it can
reach .1 and .250 . But it can not get to .254 (ISDN router) which has
a direct network cable link to the external interface.. 

Does the router need to know the netmask 255.255.255.192 or be
programmed with it ? 

What route command do I need to make the firewall box talk to the
router at .254 through the .250 (external interface) ? 

Better yet how I can I get it to route the packets destin for the
internet go through the external interface through router and out to
the internet . Do I need to create a static route to the down stream
router ( next router down ) ?

Or do I have this all wrong ? 

If anyone can help I would be grateful 

-- diagram --

PC's .2 - .63 --> int. gate .1 -> Ext. gate .250 -> router .254 ->
internet! (hopefully)

--  diagram --

Confused Admin
Daryl,
Technical Details
Message-ID: <34d78690.1230024@news.ihug.co.nz>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f922c,3230d1d3a6f46452,start
X-Google-Attributes: gidf922c,public
X-Google-Thread: 100b1f,3230d1d3a6f46452,start
X-Google-Attributes: gid100b1f,public
X-Google-Thread: 13e15b,3230d1d3a6f46452,start
X-Google-Attributes: gid13e15b,public
X-Google-Thread: f9382,3230d1d3a6f46452,start
X-Google-Attributes: gidf9382,public
X-Google-Thread: f9b51,3230d1d3a6f46452,start
X-Google-Attributes: gidf9b51,public
X-Google-Thread: ff9be,3230d1d3a6f46452,start
X-Google-Attributes: gidff9be,public
X-Google-Thread: 102983,3230d1d3a6f46452,start
X-Google-Attributes: gid102983,public
X-Google-Thread: 10a997,3230d1d3a6f46452,start
X-Google-Attributes: gid10a997,public
From: dlim@ihug.co.nz (Daryl Lim)
Subject: firewall problem/query
Date: 1998/02/03
Message-ID: <34d78690.1230024@news.ihug.co.nz>
X-Deja-AN: 321778044
Organization: The Internet Group Ltd
Newsgroups: alt.uu.comp.os.linux.questions,coat.mail.firewalls,aus.computers.linux,comp.os.linux,comp.os.linux.help,comp.os.linux.questions,comp.os.linux.setup,comp.security.firewalls,comp.security.unix