Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-13-2004, 07:32 PM   #1
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 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, 05:43 PM   #2
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...


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

All times are GMT -5. The time now is 01:31 AM.

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