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 reach webserver running on different port

I have 2 webservers (with their own internal IP) behind 1 public IP.
The first one is IIS for OWA, the 2nd one is an Apache webserver where people login to for an internal application.  I have it listening on port 800.
I made a html redirect from http://webserver2.company.com to http://webserver2.company.com:800 so they don't have to know the port.
I have a hosts entry for webserver2.company.com that points to the internal IP
I can reach http://webserver2.company.com:800 just fine internally, but not from the outside.

Here's how I set up Astaro V7:
- networks: webserver2 192.168.100.18
- services:  HTTP 800 TCP 1:65535 → 800
- packet filter: Any webserver2 HTTP 800 ALLOW
- DNAT:   Any → HTTP 800 → Extern (Address)
Destination translation: webserver2


Problem is that I can't reach the webserver from the outside.  
I need this up and running on monday, so I'd very much appreciate any help with this.


This thread was automatically locked due to age.
Parents
  • Partial succes!
    When I try http://WANip:800 I can reach the internal webserver [[:)]] 
    These entries show up in the logs.
    19:41:41  Connection using NAT TCP  81.165.5.109  :  51392 →  xx.yy.226.240  :  800 [SYN]  len=52  ttl=123  tos=0x00  srcmac=00:30:b8:c2:eb:12  dstmac=00:0f:20:68:59:4a

    But http://webserver2.company.com:800 doesn't work yet.

    Getting closer [[:)]]

    Edit:
    Seems I made a dns error.  I had it pointing to the wrong ip, woops.
    I changed the dns settings and will try again in a while.
Reply
  • Partial succes!
    When I try http://WANip:800 I can reach the internal webserver [[:)]] 
    These entries show up in the logs.
    19:41:41  Connection using NAT TCP  81.165.5.109  :  51392 →  xx.yy.226.240  :  800 [SYN]  len=52  ttl=123  tos=0x00  srcmac=00:30:b8:c2:eb:12  dstmac=00:0f:20:68:59:4a

    But http://webserver2.company.com:800 doesn't work yet.

    Getting closer [[:)]]

    Edit:
    Seems I made a dns error.  I had it pointing to the wrong ip, woops.
    I changed the dns settings and will try again in a while.
Children
No Data