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

Accessing Webserver from inside NAT

I have a webserver behind Astaro, which I use as a NAT firewall. The webserver has ip 192.168.0.13, and I have forwarded port 80 in Astaro to reach that machine.

Now, if I from inside the network, from my machine with IP 192.168.0.3 try to access the webserver using the external IP or dns-entry, I fail.

I can use the internal IP just fine, but it would be nice to be able to access the webserver "from within" using the real DNS-name


This thread was automatically locked due to age.
Parents
  • Hi.
    I have the same problem using Netsupport software. I configured the nat part correctly. All remote managed machines which have netsupport installed and are not in my internal network are shown correctly in my Netsupport client, so the the nat rule works correct. But the machines that are in my internal network are not shown.

    I have allowed all traffic from my network to the internet. In the live log i see "using nat". 

    The same thing is for my FTP server behind the astaro. From outside it works properly, but from internal using the external ip it doesn´t.
    So what am i doing wrong here. Whould be great to have a solution for this.

    Update:
    I found a solution using FULL NAT! [:)]

    Go to Network Security>>NAT>>DNAT/SNAT
    Create a new NAT rule of: 

    Name: Webserver Full NAT for internal redirect (in my case FTP)
    Traffic Source: Internal(network)
    Traffic Service: HTTP (or the service (port) you are using, in my case ftp:21)
    Traffic Destination: External(Address)
    NAT mode: Full NAT
    Destination: Internal Server address
    Destination: Service: leave blank (or use the desired service in my case ftp:21)
    Source: ASG Internal(address)
    Source Service: Leave blank (or use the desired service in my case ftp:21)
    Automatic packet filter rule: Check 

    This works for me with FTP and with Netsupport

    Thanks
    Michael
Reply
  • Hi.
    I have the same problem using Netsupport software. I configured the nat part correctly. All remote managed machines which have netsupport installed and are not in my internal network are shown correctly in my Netsupport client, so the the nat rule works correct. But the machines that are in my internal network are not shown.

    I have allowed all traffic from my network to the internet. In the live log i see "using nat". 

    The same thing is for my FTP server behind the astaro. From outside it works properly, but from internal using the external ip it doesn´t.
    So what am i doing wrong here. Whould be great to have a solution for this.

    Update:
    I found a solution using FULL NAT! [:)]

    Go to Network Security>>NAT>>DNAT/SNAT
    Create a new NAT rule of: 

    Name: Webserver Full NAT for internal redirect (in my case FTP)
    Traffic Source: Internal(network)
    Traffic Service: HTTP (or the service (port) you are using, in my case ftp:21)
    Traffic Destination: External(Address)
    NAT mode: Full NAT
    Destination: Internal Server address
    Destination: Service: leave blank (or use the desired service in my case ftp:21)
    Source: ASG Internal(address)
    Source Service: Leave blank (or use the desired service in my case ftp:21)
    Automatic packet filter rule: Check 

    This works for me with FTP and with Netsupport

    Thanks
    Michael
Children
No Data