LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2004, 06:32 PM   #1
SWAT
Member
 
Registered: Aug 2003
Posts: 36

Rep: Reputation: 15
Double NAT, IPtables and bridging


I've just got a question, and I need it answered BEFORE I begin with extensive work.
I've got ADSL at home with a 4 ports modem/router (supports NAT). Behind that router I
want to place 1 PC, with 2 NIC's. I want THAT PC (with SMOOTHWALL.org) installed to serve
and protect my entire network. (with NAT)
Furthermore I want to run an FTP server on my LAN, that can be accessed from the outside.
I also want to run a VPN server, and IRCbot and a IPtables firewall on my PC (2 NIC's).

How can I do this the fastest? I heard someone mention bridging, but that can be done by
IPtables directly, I think.
Can the DHCPserver on the modem/router give away IPadresses on my LAN or do I need my
PC (2 NIC's) to do that? Because it will be kind of a double NAT situation.

What's the best way to do all of this? (especially with gateway IP's etcetera)
 
Old 02-16-2004, 04:43 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Smoothwall does all the functions you are asking for...
No need for bridging anywhere.
Let it do the dhcp for the LAN.
It has a DMZ zone for public accessible servers... Easy config interface too..

The dsl modem/router could be bridged to present the external number to the Smoothie box, but your ISP will need to arrange that.
It's certainly not necessary.
NAT at the router if you only have 1 ip number off the dsl...
 
  


Reply



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
double NAT peer to peer wifi crashing me3 Linux - Wireless Networking 15 01-26-2005 11:21 AM
Performance problems with iptables and bridging firewall DarkSun4241 Linux - Networking 2 05-28-2004 09:26 PM
IPTABLES : build NAT using IPTABLES joseph Linux - Networking 4 04-23-2004 05:08 AM
Double NAT Problems... Kaashar Linux - Security 6 03-12-2004 10:54 AM
ProFTPd and double NAT...possible? tisource Linux - Networking 5 02-14-2003 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:50 AM.

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