- product_router, task_configuration, os_drayos5, tech_nat, tech_port_forwarding, tech_https, tech_management_access
Redirect HTTPS Requests to an Internal Server (DrayOS5)
The DrayOS5 router offers Port Forwarding setting, which allow for the redirection of connection requests from the WAN to an internal server on the LAN. However, for HTTPS requests that use TCP port 443, a NAT setup alone will not suffice. The router's HTTPS and SSL VPN service port must also be changed, as these functions also listen to TCP port 443 by default and have a higher priority than the NAT settings. This article provides a step-by-step guide on redirecting HTTPS requests to an internal server.
The Vigor2136 will be used in the configuration example.
Step 1. Change Router HTTPS management port
Go System Maintenance / Management / Service Control
- Change the HTTPS Port from 443 to another number
- Click Apply to save the setting
Step 2: Configure TCP port 443 for Port Forwarding
Go to the Configuration / NAT / Port Forwarding menu. Click on +Add to add a Port Forwarding profile
Enable this profile and configure it as shown below:
Name: Give a profile name
WAN Interface: Specify a WAN Interface
Source IP: Any
Private IP: The IP address of the internal server
Under the Port Forwarding section:
Click on +Add
Select Protocol: TCP
Public Port Range: 443~443
Private Port Range: 443~443
Click Apply to save the settings.
When HTTPS requests are sent to the router's WAN interface, they will be redirected to the internal server.
