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

Setting up NAT/WAF to internal webserver

Hi.
I just installed UTM. 
My plan is to use the UTM as reverse proxy/WAF.
I have tried to follow some of the instruction "out there".
But can't get this working.

my setup: Internet  Router  UTM/LAN/Servers

So UTM and servers are receiving IP's from the DHCP server build in the router.

IP for router is: 192.168.0.1
IP for web server is: 192.168.0.6
IP for UTM: 192.168.0.7

Real webserver set up:
Name: SharePoint
Host: 192.168.0.6
Port: 80
Comment: blank
Enable HTTP keepalive: on
Timeout: 300

Virtual webserver:
Name: SharePoint-Vserver
Interface: inside (same ip as UTM)
Type: Plaintext(HTTP)
Port: 80

Domains:
www.mydomain.com

Real Webservers:
SharePoint enabled: on

Firewall Profile: No Profile

Advanced:
Pass Host Header: enable


After this didn't work i try to set up a simple DNAT.
When checking the firewall logs i can see that the traffic is routing to my web server.
But the browser is trying to load the webpage and then get the timeout.

When I logon the router and change the NAT from pointing to UTM directly to my webserver the page load straight away.


This thread was automatically locked due to age.
Parents
  • Hi, 

    1. you seem to have the inside of the router and the server both on the same network, instead of having the server inside the firewall.

    2. you have a double-NAT configuration as your router and the UTM are presumbably both doing NAT.
    (the WAF can't work in a bridged configuration, iirc)

    I would recommend bridging or removing the router and starting again.

    Barry
Reply
  • Hi, 

    1. you seem to have the inside of the router and the server both on the same network, instead of having the server inside the firewall.

    2. you have a double-NAT configuration as your router and the UTM are presumbably both doing NAT.
    (the WAF can't work in a bridged configuration, iirc)

    I would recommend bridging or removing the router and starting again.

    Barry
Children
No Data