I have a question/problem. I have two webservers. One is a webmail and the other one is a standard webserver. I need to forward 443 port to both of them. I have added proxyarp to the shorewall and added rules like this to the rules file:
WEBMAIL: DNAT net loc:INTIP1:443 tcp 443 # scalix web WEB: DNAT net loc:INTIP2:80 tcp 80 - EXTIP DNAT net loc:INTIP2:443 tcp 443 - EXTIP
But this does not work. If I open the webserver that is redirect to EXTIP on port 80 everything works fine, but if I try to open it using HTTPS it redirects me to the scalix web https. Can anyone help me out how I can forward the ports so both of them can use it.
Or is it impossible to do because its the same port? Would I need to change the SSL port in scalix web or webserver order it to work?