Hi,
I had running a nginx webserver on 192.168.1.7. Now Lede is doing a port forward of wan:80 and wan:443 to this IP. nginx on 192.168.1.7 returns 443 on accesing the port 80. So the webserver is handling 443 ssl. I do have 4 redirect running in nginx. So by the destination host name I redirect the trafic like 192.168.1.x.
This is working without any problem. All host address are getting to the right destination.
No I setup OpenVPN on port tcp 443. I added the option "port-share 192.168.1.7 443" in the /etc/init.d/openvpn file. And I disabled the port forward of 443 in the firewall.
Now I can access OpenVPN on tcp 443 but not all nginx redirections. It looks like the option "port-share" is forwarding the request by the source IP 192.168.1.1 and not the original host name. So nginx does redirect everytime to the same website - also with different host names.
How to fix this?