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

Can't get Nat Working for webserver

Hi All,
I just did a fresh install of ASG 7.504 and I can't get nat to work for my web server.  I read as manny of the other posts that I can find and none of them have given me the answer.  Here is the setup

I auto setup my web server in the DNS database, to build the definition.

dnat looks like 

Trafic Source > Internet
Trafic service > HTTP (ie. port 80)
Trafic Dest    > WAN address (my public ip)

NAT mode > DNAT

Destination > Webserver ( the ip of my internal web server)
Destination service > left blank

Log initial packet > checked
Automatic filter > checked 

Here is the live log:

18:19:57 Connection using NAT TCP 68.XX.XX.XX:51844→76.122.XX.XX:80 [SYN] len=60 ttl=51 tos=0x00 srcmac=00:01:5c:24:62:c2 dstmac=00:0a:5e:05:68:ca
18:19:58 Connection using NAT TCP 68.XX.XX.XX:59229→76.122.XX.XX:80 [SYN] len=60 ttl=51 tos=0x00 srcmac=00:01:5c:24:62:c2 dstmac=00:0a:5e:05:68:ca
18:19:58 Connection using NAT TCP 68.XX.XX.XX:55583→76.122.XX.XX:80 [SYN] len=60 ttl=51 tos=0x00 srcmac=00:01:5c:24:62:c2 dstmac=00:0a:5e:05:68:ca
18:19:58 Connection using NAT TCP 68.XX.XX.XX:56267→76.122.XX.XX:80 [SYN] len=60 ttl=51 tos=0x00 srcmac=00:01:5c:24:62:c2 dstmac=00:0a:5e:05:68:ca

I aslo get HTTP error 504: Gateway Timeout


This thread was automatically locked due to age.
Parents
  • Do you have a packet filter rule to allow incoming HTTP traffic?
     
    Also, is there a firewall installed on the web server itself and if so, have you created a rule to allow the incoming traffic (with windows server 2008 and 2008 R2, the firewall is enabled by default and will block traffic unless a rule is put in place to allow it)?
Reply
  • Do you have a packet filter rule to allow incoming HTTP traffic?
     
    Also, is there a firewall installed on the web server itself and if so, have you created a rule to allow the incoming traffic (with windows server 2008 and 2008 R2, the firewall is enabled by default and will block traffic unless a rule is put in place to allow it)?
Children
  • Scott I think I have set the correct incoming rule, i checked the box for automatic filter rule when setting up the Dnat rule.

    As for the web server it's self it is set correctly.  I know this for 2 reasons I can get it to work with an other router and I also had it working with an older install of ASG.