Networking Forums

Networking Forums > Computer Networking > Linux Networking > rc.firewall for linux kernel 2.4.26?

Reply
Thread Tools Display Modes

rc.firewall for linux kernel 2.4.26?

 
 
Praveen Sharma
Guest
Posts: n/a

 
      05-07-2004, 01:22 AM
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



 
Reply With Quote
 
 
 
 
Douglas Mayne
Guest
Posts: n/a

 
      05-07-2004, 03:59 PM
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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any Linux Distri available to run several instances of Linux Kernel?. GS Linux Networking 5 05-20-2005 11:18 AM
best choice of kernel version for a new firewall Brett Linux Networking 5 11-30-2004 01:00 AM
Kernel 2.6 IPSEC and Firewall Nadav Linux Networking 0 02-07-2004 10:06 PM
Micro-firewall compiled into the kernel Russell Markus Linux Networking 1 10-29-2003 05:44 PM
kernel 2.2.16 - firewall information needed... nunya Linux Networking 5 08-11-2003 12:35 PM



1 2 3 4 5 6 7 8 9 10 11