Guest User!

You are not Sophos Staff.

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

publish two web server app using two IP publique

I have two public IP addresses behind a sophos XG, I need to publish two web servers in the DMZ zone.
I created the publishing rules for both servers. only access to web server 1 is allowed from IP1 address. 
access to web server 2 from IP2 address is not permitted. the two gateways are active, when I change the weight of the gateways the access to web server 2 from IP2 address is allowed
but access to web server 1 from IP1
is not permitted, Why?


what is the best way to publish the two web servers with the two public IPs





This thread was automatically locked due to age.
Parents
  • I assume you are using NAT rules currently.

    Switch to WAF, aka web application firewall, as this is reverse proxy and if you use appropriate certificates, or even a wildcard cert, can reverse proxy multiple web servers on same IP.

Reply
  • I assume you are using NAT rules currently.

    Switch to WAF, aka web application firewall, as this is reverse proxy and if you use appropriate certificates, or even a wildcard cert, can reverse proxy multiple web servers on same IP.

Children
  • I have two public IP addresses from two ISP And I want to publish two Web server in DMZ zone (web server1  and webserver 2).

    I have two active gateways,

    I can access web server 1 from internet but not web server 2. when I change the weight of gateway 1 to 1 and gateway 2 to 0 I can access webserver 2 and not web server1

    how to access the two web server from two Ips addresses . Thanks

  • Hello Hamidi My abdellah,

    you've shown the internal addresses but not the public part and, at least to me, it's not quite clear what you want to achieve.
    You have two public addresses (IP1 and IP2)  from two ISPs, correct? And you have two FQDNs for the web servers that resolve to ... which public IP? Or how is your setup? And is the problem that regardless of the public IP you specify (IP1 or IP2) you reach either WebServer1 or WebServer2 depending on the configured weight? Hm, I think I've missed some part ...

    Christian

  • thanks for your replay,

    I can access webserver1 from url: http://IP1 but i can't access webserver2 from url : http://IP2

    when I change the weight, I can access webserver2 from url: http://IP2 but i can't access webserver1 from url : http://IP1

Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?