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

reverse proxy like DNAT?

Hello!

I have currently 2 physical web servers home. One linux, with vhosting (working on port 80), and to solve the problem with 2 web server thing, i use the windows webserver on port 81.

But, i have tried out the DNAT thing, without any luck. Lets say, that i have 3 domains on the linux box. IP:10.0.1.18, and 2 domain on Windows box, IP:10.0.1.19.

I also have subdomains of these domains that will go to another server.

domain1.com - 10.0.1.18
domain2.com - 10.0.1.18
domain3.com - 10.0.1.18
domain4.com - 10.0.1.19
domain5.com - 10.0.1.19
sub1.domain1.com - 10.0.1.20
sub2.domain1.com - 10.0.1.21

How to config this in DNAT? I have ASG 8.0.
I recon i have to make a opening for the ports in packet filter to all the servers?

OR (as an second option, not what i hoping for)

Can i forward all ports to a reverse proxy and do it all from there? Witch reverse proxy do you recommend? i want one that is a "self-explaning", or have an easy learning curve.


This thread was automatically locked due to age.
  • Astaro 8 has a reverse proxy.

    Otherwise, you should DNAT external port 80 to one server, and external port 81 to the other, and setup packetfilter rules for external traffic to the internal servers, on whichever internal port you're using.
    But this probably will not do what you need if you only have one external IP address, so look at the proxy.

    Barry
  • use the reverse proxy of ASG v8.0, it will do the job ;-)
  • Oh maaaan! I have actually looked at that thing. And i didnt remember!
    But, how to configure this thing?

    I put all my real webservers in the real webserver site, and ad domains to it with the virtual?
  • Tommen, it's difficult to give you an exact prescription - it depends on how your webservers work; some know how to separate traffic based on the FQDN, some need a different IP or a different port.

    Cheers - Bob