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

Again Local nat bug - Help please!

First versions of new version 5 had a known problem with local NAT issue. I still, with latest update 5.016, have the problem. 
I began with one packet rule and one nat rule, http service. If I try to brows the server with external nat address from outside the LAN this works fine, but not from inside the LAN. This works fine with ver 4.xxx.

Any ideas????


This thread was automatically locked due to age.
Parents
  • Accessing external IP from internal network 
    search in forums for my name or timber666
    not bug this is nat and how it works
    v4 also

    -Dave
  • Hi dhofmann1,
    One 'simple' question: Why my nat rules works just fine in ver 4.x and same rules imported in ver 5.x does not?
    Regarding your tip to look at Tims solution: Is his solution right, or is that just workarourd som Astato problem?

    Regards,
    Zeraldin
  • I agree, I also had this working in ASL4 (still do at a site) and a raw IPTables Linux firewall, so I know that with NAT you can do this, there is no question about that. Do you have the HTTP proxy turned on? If so, as a test turn it off temporarily and then see if it works. I believe I tried this and I was then able to access local servers using public IP's. I have an idea that it is the HTTP proxy not taking into account the NAT rule. The only work around I have came up with is to add in the /etc/hosts file a record that points www.mydomain.com to the internal private IP. Because the HTTP proxy looks here first before querying DNS it will then go straight to the internal server.
  • hi guys, 

    one quick question, 
    is the HTTP server you want to access on the same LAN or is it in the DMZ?

    Gert
Reply Children
  • Gert,
        The web server is on the same LAN as the client.

    I tried this again when I got home....and it works without any hitches.

    Here the different scenarios I tested:

    Constants:
    ASL 5.016
    1 external interface and 1 internal interface...no DMZ, no aliases, just 1 dynamic IP
    normal MASQ rule for internal LAN
    normal DNAT rule for web server
    No additional record in /etc/hosts file
    www.mydomain.com resolves to the external interface of the ASL on the client and from the ASL

    When using transparent HTTP proxy:
    I did not have to add any 'special' NAT rules, and it just worked

    When not using the Proxy:
    In order for me to be able to access my webserver using the public DNS name I had to add the following 'special' NAT rule

    Internal (Network) -> External (Address) / HTTP   Internal (Address)   WWW_SERVER

    After adding that NAT rule I can access the server. This is the same NAT rule I had to use in ASL4.

    Sorry for my previous post...When I was troubleshooting before, it must of been with an earlier release??