This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Beating my head against this NAT/DNAT issue

I have a web server on a local IP (192.168.1.22).  It's public IP (67.177.108.222) is added as an additional address on Astaro's public interface.  There is a DNAT rule that Translates ALL-HTTP-[67.177.108.222] to [192.168.1.22].  I then have a Packet Filter that allows ALL-HTTP-[192.168.1.22].

This works great for the outside world, but my internal NAT'd workstations cannot get this web page to load.

What am I missing?


This thread was automatically locked due to age.
Parents
  • If this is v.7, check your DNS settings in the Astaro. You can setup a redirect to the correct internal IP from those menus.
  • Yes, it is version 7.  I would prefer to not have to setup special static mappings to band-aid this problem.  Shouldn't traffic be able to route normally out through NAT and then back through the firewall via DNAT?
  • Ummm, No.  Can't make that U-Turn.
  • So it either put the server in the DMZ (not an option for Windows servers IMHO) or create static mappings.

    So I basically need an internal DNS structure that mimics the structure of my public DNS with the internal equivalents?
  • DMZ???  This is not a DMZ setup.

    No, they're not mappings any more than any DNS table is.  All you're doing is substituting the DNS entry you'd normally get from any external DNS server you happen to query, with a DNS entry from an internal DNS server (the Astaro).  In other words it's just an efficient replacement DNS entry for this one webserver (or more if you have more servers, etc.)

    You're not remapping, you're telling your internal computers the quick and easy direct route to the local inside address of the webserver - the exact same IP address NATted external traffic will get routed to anyway.  Why make your IP traffic go out to the external address just to turn around and come right back in?  

    Setting it up this way also gives you faster access to your webserver and leaves your Astaro free to deal with other things.  It's a better way to go even if it were possible to route the traffic as you've suggested, which it's not.
Reply
  • DMZ???  This is not a DMZ setup.

    No, they're not mappings any more than any DNS table is.  All you're doing is substituting the DNS entry you'd normally get from any external DNS server you happen to query, with a DNS entry from an internal DNS server (the Astaro).  In other words it's just an efficient replacement DNS entry for this one webserver (or more if you have more servers, etc.)

    You're not remapping, you're telling your internal computers the quick and easy direct route to the local inside address of the webserver - the exact same IP address NATted external traffic will get routed to anyway.  Why make your IP traffic go out to the external address just to turn around and come right back in?  

    Setting it up this way also gives you faster access to your webserver and leaves your Astaro free to deal with other things.  It's a better way to go even if it were possible to route the traffic as you've suggested, which it's not.
Children