The problem here: TURN required UDP in range: 40000-60000 and it seems to
be impossible to pass all these connections via 443

On Tue, 7 Apr 2020 at 02:31, Zenon Panoussis <[email protected]> wrote:

>
> > 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
>
>
>

-- 
Best regards,
Maxim

Reply via email to