Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Astaro Gateway Products > Network Security: Firewall, NAT, QoS, IPS and more

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-10-2009, 04:31 PM
Member
 
Join Date: Jun 2002
Location: Berlin, Germany
Posts: 54
Default Why cant I route public domains back to intranet

Hi,

there is one issue I dont understand and I am asking myself wether I have a inoptimal configured firewall or the matter is simply not possible.

I am sitting in a LAN having on of the computers in the same network configured as webserver, reachable with a public domain.
If I surf this adress from the outside there is no problem - I can reach the webserver under ***.yyy.de.
If I am trying to reach the computer from the intranet using the public domain I cant reach it. If I use the LAN-adress it works fine.

So my question is, wether it is possible at all to route a request to a public domain outside and let it come back to my server?

Thanks,
Mat
Reply With Quote
  #2 (permalink)  
Old 09-10-2009, 05:51 PM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,314
Default

The "accepted" solution for this would be to set up a static route in your internal name server or in the Astaro DNS Proxy: '***.yyy.de -> [internal IP]'. Here are some suggestions about how best to set up the Astaro DNS Proxy and coordinate it with your internal name server: http://www.astaro.org/120510-post9.html

Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
Reply With Quote
  #3 (permalink)  
Old 02-08-2010, 09:45 AM
Junior Member
 
Join Date: Feb 2010
Posts: 8
Default

Hi!

I have the very same problem with my system. But there are three different machines in the LAN that should be reachable through the public domain name, with DNAT on their individual ports.

How can I tell Astaro to correctly redirect these packets?
Reply With Quote
  #4 (permalink)  
Old 02-08-2010, 02:58 PM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,314
Default

I think you're asking a different question, renegade. Assuming that the Astaro is the default gateway for those three machines, you will need a DNAT for each machine:
'Internet -> {service (port) for machine 1} -> External (Address) : DNAT to {private IP of machine 1} (leave 'Destination Service' empty)
Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
Reply With Quote
  #5 (permalink)  
Old 02-09-2010, 12:58 PM
Junior Member
 
Join Date: Feb 2010
Posts: 8
Default

DNAT is already set up and working from the internet.

The only problem I have is that clients from within the LAN trying to access the servers through the DNATted ports using the Astaro's DynDNS-Name won't get any respnse...

Reply With Quote
  #6 (permalink)  
Old 02-11-2010, 08:49 PM
Junior Member
 
Join Date: Feb 2010
Posts: 8
Default

Hey guys!

Finally got the point!
Its NAT loopback what was needed.

Therefor a full NAT has to be configured in DNAT/SNAT settings..

More information here:

Astaro Knowledge Base
Reply With Quote
  #7 (permalink)  
Old 02-12-2010, 12:12 AM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,314
Default

Actually, instead of NAT Loopback, we normally solve this with 'Static Entries' in the Astaro DNS Proxy.

Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
Reply With Quote
  #8 (permalink)  
Old 02-12-2010, 09:52 AM
Junior Member
 
Join Date: Feb 2010
Posts: 8
Default

Yes, static DNS entries work fine if you're only using one single server.

But trouble starts when, you want to select different servers through port-mapping. DNS can't reslove ports into IP-addresses...
Reply With Quote
  #9 (permalink)  
Old 02-13-2010, 02:12 AM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,314
Default

Ahhhhh! - you aren't using the web proxy! You are exactly right!

Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
Reply With Quote
Reply

Tags
domain, lan, route

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:06 AM.

 

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.