LinuxQuestions.org
Visit Jeremy's Blog.
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 03-22-2010, 05:45 PM   #1
NoWone
LQ Newbie
 
Registered: Jan 2005
Location: Italy
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
Question Issue with Linux box as a LAN firewall


Hello everyone, I'm trying to add a Linux firewall to my office LAN. The setup should be pretty basic but I'm having trouble getting it to work. Not having experience in manually writing rules, I tried IPCop and SmoothWall without any success. I know these distros are supposed to be pretty straightforward but d'oh.

My network setup is this:
Broadband router: 192.168.0.254 (cannot change this one)
|
Ethernet switch
|
Linux firewall eth1: 192.168.0.1
Linux firewall eth0: 192.168.1.1
Linux firewall DNS: 208.67.222.222 (OpenDNS)
Linux firewall gw: 192.168.0.254
|
Ethernet switch
|
LAN: 192.168.1.0 with Linux/Windows boxes.
LAN DNS: 192.168.1.1
LAN gw: 192.168.1.1

Maybe my mistake is in the network setup. The LAN machines couldn't get to the Internet. The network equipment is spare but works. Can anybody please help me getting it to work?

Thanks!!
 
Old 03-22-2010, 06:04 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,500

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Take a look at
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/
 
  


Reply

Tags
firewall, ipcop, lan, networking


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
Linux box won't print across LAN to XP box LPT1 whynotlinux Linux - Networking 1 08-28-2006 10:36 AM
Accessing my linux box by name on the LAN (from Windows) malbery Linux - Networking 2 12-07-2004 05:42 AM
Connecting Linux box to Internet through Windowx XP box over LAN pcd007 Linux - Networking 1 03-14-2004 09:02 AM
Can't get linux box to see anything on the LAN Nico Linux - Networking 7 07-10-2002 04:35 AM
How do I Telnet (via the web) to a linux box on a Lan.. Simon W Linux - Networking 6 04-15-2002 09:29 PM


All times are GMT -5. The time now is 09:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration