LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-04-2008, 10:58 AM   #1
GerianneMcC
LQ Newbie
 
Registered: Apr 2008
Posts: 10

Rep: Reputation: 0
How to access DMZ from LAN?


I'm learning to set up an iptables firewall with a DMZ.

At the moment, I have networks set up as:

external net: a.a.a.200/29
DMZ net : 10.1.1.0/24
LAN net : 192.168.1.0/24

Where the outside world gets to my DMZ servers by NAT mapping in the firewall from external addresses to the 10.1.1.X addresses/ports.

I'm not clear how to correctly access the DMZ machines from the LAN.

If I have a mail server on, say, 10.1.1.10:25, mapped via NAT to/from a.a.a.200:25, what address should INTERNAL, lan-side machines (on the 192.168.1.X network) access it at ? 10.1.1.10:25 or a.a.a.200:25?

Thanks a lot.

Geri
 
Old 12-04-2008, 04:10 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Use the real address, 10.1.1.10:25
 
Old 12-04-2008, 04:20 PM   #3
GerianneMcC
LQ Newbie
 
Registered: Apr 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by stress_junkie View Post
Use the real address, 10.1.1.10:25
Since NAT would not be involved, I'd just make sure that FW rules allowing 192.168.1.X <-> 10.1.1.X are in place?

Do I need to ALSO set up some sort of special additional route(ing) since both the 192. & 10. are "internal only" IP ranges?
 
Old 12-04-2008, 05:23 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
The routers handle the subnet management. If your router allows a different subnet in the DMZ than in the regular internal LAN then it should be able to handle the routing.

NAT won't be involved between your internal LAN and the DMZ.
 
  


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
DMZ / LAN services fullgore Linux - Security 1 01-29-2008 05:42 PM
DMZ to LAN rsync reckless2k2 Linux - Networking 4 06-10-2007 07:16 AM
Allowing web server in dmz to access AS400 in LAN sunethj Linux - Networking 0 01-10-2007 12:06 AM
Overview, DMZ. LAN 3 ethxcards or? try to port piratebiter Linux - Networking 0 08-24-2003 04:42 PM
IPTABLES - LAN can't get to DMZ with public IP dknell Linux - Security 4 02-28-2002 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration