LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-20-2004, 06:30 AM   #1
kechara
LQ Newbie
 
Registered: Apr 2004
Location: Denmark
Distribution: Arch Linux, Mageia
Posts: 3

Rep: Reputation: 0
Setup shorewall with Lan & Wan zone on same NIC, is it possible?


Hi all,

I have a home network consisting of 3 machines running Linux & Windows. I have a dedicated hardware firewall connecting my lan to the Internet.
I now want to configure the firewall on my Linux machine to allow access to shares on my win2k box, and was considering defining two zones to accomplish this.

My setup is as follows.
hardware firewall: IP 192.168.111.254
Linux machine: IP 192.168.111.11
win2k machine: IP 192.168.111.10
winxp machine: IP 192.168.111.15

From my linux machine the network would look like this:
The WAN Zone would be IP 192.168.111.254
The LAN Zone would be IP 192.168.111.2 to IP 192.168.111.20

Then I want to allow unrestricted traffic within the LAN Zone, and block all unnecessary traffic to the WAN Zone.

Can anyone tell me if this is possible? I have been looking at the documentation for Shorewall, and am a little unsure how to get this done.

My Linux machine is running Mandrake 10.0 Official.
A lot of rules have been defined by Mandrake, and I'm not sure which of these are necessary or not. Could anyone give me a hint to this?

Thanks for you help,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2 routers WAN, LAN could you please tell me... microsmart Linux - Networking 5 08-06-2005 02:17 PM
Solaris 10. Got LAN working but not WAN. norus Solaris / OpenSolaris 5 06-11-2005 11:43 AM
Routing LAN -> WAN -> LAN with unhelpful router synx13 Linux - Networking 2 06-14-2004 03:35 PM
LAN works, WAN doesn't ? BrianK Linux - Networking 2 06-16-2003 08:11 PM
LAN/WAN problems CyberNet Linux - Networking 1 11-11-2002 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration