Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 01-18-2007, 02:25 AM   #1
LQ Newbie
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
question about iptables (DMZ machine connect to other DMZ machine 's publuic IP)

hi all,

i am using iptables to be a firewall for my company,

for example:

dmz_ip_1: ( mapping to )
dmz_ip_2: ( mapping to )

when i try to connect to the Wan IP of from,
it show me an error message about "Connection refused"

how can i setup a rule to connect to DMZ machine from machine ??
and connect to DMZ machine from machine

thanks !

Old 01-20-2007, 05:01 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
I can't find the post I am looking for but what should work is DNAT. Check out the links in the post by Capt_Caveman.

Search here for dnat and there are several examples.



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
IPTables + DMZ Host XaViaR Linux - Networking 3 10-08-2006 12:38 PM
iptables + DMZ Braytac Linux - Networking 3 10-06-2006 06:57 AM
Linux router - setting up a DMZ or default machine to route to Rooboy Linux - Networking 12 02-18-2004 04:44 PM
IPTABLES and DMZ Host htimst Linux - Security 1 12-21-2001 08:04 AM
Setting up DMZ with iptables.... ghost-ils Linux - Networking 0 09-09-2001 08:14 PM

All times are GMT -5. The time now is 11:52 PM.

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