I struggle with a forwarding problem on RUT241 7.14.3. In order to make a secure connection with https to my webserver I bought from Dynu a domain linked to my static IP adress and the related certificates. The certificates are stored in the Apache webserver, IP xx.xx.xx.40. The router hast xx.xx.xx.31. Router uses OpenVPN for the internetconnection to the provider of the static ip.
With http, I simply ticked in my static IP + Port, means xx.xx.xx.46:81. Now have a domain matching my static IP xx.xx.xx.46. This kind of adressing is with a domain not possible anymore and I land always on the router, although I want to reach my webserver behind. I already set incoming and outcoming Port to 443, the https port itself to 4443. Nothing works. Any idea how to solve it?
For HTTPS, the standard port is 443. Forward external port 443 on your router to the internal IP of your webserver (xx.xx.xx.40) on the port Apache is listening to for HTTPS (usually 443 or in your case 4443 if customized).
Forwarding to port 4443 internally is fine, but the external port should remain 443 so browsers connect using the standard HTTPS port.
Ensure your port forwarding rule in the RUT241 is set from WAN port 443 to LAN IP xx.xx.xx.40 port 4443.
Double check firewall rules on the router to allow incoming connections on port 443.
Check if the router’s HTTPS management interface is enabled on port 443 and either disable it or change it to a different port to free port 443 for forwarding.
The SSL certificate installed on Apache must match the domain name exactly (not the IP address).
thank you for all the explanation. Is it possible to have a look to my configuration? I think meanwhile I tried every possible combination, meinmonitoring.de lands always on the login page of the router, although I can reach my Apache server on xxx.40 via Lan.