Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

rc.firewall for linux kernel 2.4.26?

Reply
 
Thread Tools Display Modes
  #1  
Old 05-07-2004, 02:22 AM
Default rc.firewall for linux kernel 2.4.26?



Hi,
I recently configured my machine with slackware kernel 2.4.26 and I was
looking for a sample rc.firewall file. My network is following:

public ip address
local net(192.x.x.x)
---ISP----- cable modem--------------------- Linux ----------------Hub (8
port)
eth0(dhcp)
eth1 |

|---------- PC1(MS Windows)

|

|----------PC2(MS Windows)

|

|----------- PC3(MS Windows)

|

On the eth0, i would like to use DHCP and on eth1 I am planning to use
static IP address. The linux machine is installed with 2 NIC cards. The eth1
will have static ip address: 192.168.1.1 and same way all the Windows
machine will have static IP address and static gateway address. I am not
running DHCP nor DNS locally.
I am running Samba between linux machine and PC1 (b'use it has large hard
disks). I would like to run MASQUERADING, so that all Windows machine can
access the internet, telnet, ftp, irc, talk etc applications.

Any help will be greatly appreciated.
thanks
Praveen





Praveen Sharma
Reply With Quote
  #2  
Old 05-07-2004, 04:59 PM
Douglas Mayne
Guest
 
Posts: n/a
Default Re: rc.firewall for linux kernel 2.4.26?

On Thu, 06 May 2004 21:22:03 -0400, Praveen Sharma wrote:

> Hi,
> I recently configured my machine with slackware kernel 2.4.26 and I was
> looking for a sample rc.firewall file. My network is following:
>
> public ip address
> local net(192.x.x.x)
> ---ISP----- cable modem--------------------- Linux ----------------Hub (8
> port)
> eth0(dhcp)
> eth1 |
>
> |---------- PC1(MS Windows)
>
> |
>
> |----------PC2(MS Windows)
>
> |
>
> |----------- PC3(MS Windows)
>
> |
>
> On the eth0, i would like to use DHCP and on eth1 I am planning to use
> static IP address. The linux machine is installed with 2 NIC cards. The eth1
> will have static ip address: 192.168.1.1 and same way all the Windows
> machine will have static IP address and static gateway address. I am not
> running DHCP nor DNS locally.

<snip>
Before I start into the meat of this question, does the cable modem
already provide NAT? Also, from your diagram the cable modem is a dhcp
server, right?

I have been studying "Rusty's Really Quick Guide:
http://www.netfilter.org/documentati...g-HOWTO-5.html

I think I could add extensions for a simple router, but I'll wait for your
reply.

--
Sir, we think it should be a calico kitten...
http://us.imdb.com/title/tt0120885/quotes
Reply With Quote
Reply

Tags
kernel, linux, rcfirewall

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 03:54 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.