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

NAT filtering of HTTP traffic

So, if I try to access a webpage hosted on our network from outside our network by going to www.vostok1.com. We get to the webpage fine. However, if we drop the www (i.e.: just enter vostok1.com), we get "Forbidden. You don't have permission to access / on this server." It's going somewhere, I just don't know where. 
BTW, the webserver serves the pages fine internally. And when I watch the logs I see traffic when access internally without the www, but nothing when accessing external to the network.
When I watch the Firewall logs, I can see NAT information come up for port 80 when accessing the www.vostok1.com. But nothing for vostok1.com.
Finally, our DNS records seem to be all correct.
So, what is it on Astaro Firewall (ASG120, v 8.133) that could be blocking or redirecting this traffic? Where do I look for logs on this?

BTW, another proof that it is going somewhere else would be to check the headers for the requests. Here they are:

www.vostok1.com:

Date: Wed, 11 Sep 2013 17:27:17 GMT
Server: Apache/2.2.22 (Debian)
Content-Type: text/html;charset=iso-8859-1
Vary: Accept-Encoding

vostok1.com:

Date: Wed, 11 Sep 2013 17:49:55 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1


This thread was automatically locked due to age.
Parents
  • Hi, both URLs are working for me.

    The firewall logs only have IPs, not host names; if you're resolving the IPs, a single IP will always resolve to a single name.

    Try running tcpdump or ngrep to see the traffic.

    "Forbidden. You don't have permission to access / on this server." 
    This sounds like a web server error, but you should check the web server logs to confirm.

    Barry
Reply
  • Hi, both URLs are working for me.

    The firewall logs only have IPs, not host names; if you're resolving the IPs, a single IP will always resolve to a single name.

    Try running tcpdump or ngrep to see the traffic.

    "Forbidden. You don't have permission to access / on this server." 
    This sounds like a web server error, but you should check the web server logs to confirm.

    Barry
Children
No Data