> I believe while you can redirect port 80 traffic to another
> server, because port 443 traffic is encrypted, it cannot be
> redirected. 

It can, as long as it is done transparently. If you have, say,
serviceA on internalhostA:443 and serviceB on internalhostB:443,
you can tell the router something like

incoming on port 2443 -> hostA:443
incoming on port 3443 -> hostB:443

If the router is running linux, the above is very simple:

iptables -A PREROUTING -t nat -i wan0 -p tcp --dport 2443 -j DNAT --to 
192.168.1.10:443
iptables -A PREROUTING -t nat -i wan0 -p tcp --dport 3443 -j DNAT --to 
192.168.1.20:443
iptables -A FORWARD -p tcp --dport 443 -j ACCEPT

Cheers,

Z


Reply via email to