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

Dual WEB/MAIL server behind ASL FireWall

I have done a logical split of the interface for my webserver. In addition to the 192.168.1.1 interface I now have 192.168.2.1 too. 
Old WEBserver is 192.168.1.2
Additional WEBserver is 192.168.2.2.
On the additional WEB-server I' doing a testrun of 42GO ISP-Manager, and during the testperiod I want to have a cpuple of test-sites on the 42GO server.
Both servers are running Debian, and on the old-one I have a few sites running already, based on VirtualHost in Apache.
One of the already existing sites I have moved over to the 42GO-server, but noone coming in from the internet can ever see this moved site.

HOW DOES ASL DECIDE WHERE TO FIND THE SITE ASKED FOR?
IS THIS POSSIBLE TO DO?

Feedback would be very much appreciated!

K. Regs.   


This thread was automatically locked due to age.
Parents
  • Have you set new dnat rules and rules for the new one webserver? 
  • Yes, that is done. And I have also defined a new "Service" for this server. It seems like the new server is never checked when asking for the moved site. 
    I can't really see how this new server could be found? 
    I have also entered a new entry in Pcket Filter Rules, and the new server is the very first entry. 
    What could possibly decide on what server the request will end up?

    K. Regs. 
Reply
  • Yes, that is done. And I have also defined a new "Service" for this server. It seems like the new server is never checked when asking for the moved site. 
    I can't really see how this new server could be found? 
    I have also entered a new entry in Pcket Filter Rules, and the new server is the very first entry. 
    What could possibly decide on what server the request will end up?

    K. Regs. 
Children
  • ASL is a layer 3 device and routing and forwarding is done based on logical addressing. Not by name.

    ALternative sollutions:

    1. If you have additional public ip:s to assign to the external ASL NIC. Do so and change the DNS record for the site.  And of course some NAT and filter rules.

    2. If you only have 1 static ip to work with. 
    alt. a) change the port for the new site or old site.
    ex. old: 8080, new: 80 and set up the NAT rules
    DNAT 8080 ==> old server
    DNAT 80 ==> new server
    Of course the remote host need to address the old site with the additional port info (http://oldsite.com:8080)

    alt. b) Set up the reverse proxy module for Apache to redirect the remote client to correct webserver based on the dns-name. Ie. www.oldsite.com ==> old web server, www.newsite.com ==> new webserver.