Is it possible to implement, or if it’s possible, then how. I assume I need to use tls-host option.
I have external IP (x.x.x.x) on WAN interface, and I have private LAN network, let’s it be default 192.168.88.0/24. I want to use SSTP VPN on port 443 with domain vpn.domain.com, but I also want to have web server on same IP with NAT port 443 for name www.domain.com. so, both services are using same port 443, is it possible to implement.
As an addon I want to use for VPN letsencrypt certificate, which as I know require port 80 to open, and I mant to have my port 80 also regirected to my web server, for example 192.168.88.10
Personally I would use WG myself but nothing wrong with using SSTP as a backup, both cost nothing and both avoid any third party usage.
No Holvoe, 443 is not mandatory for SSTP.
Didn’t say “mandatory”.
I said USUALLY.
I already encountered at least one tool (proprietary thing) in the past not wanting to operate with SSTP if the port to be used was not 443. Badly programmed tool ? Yes, definitely.