Port Redirection is a feature that redirects a connection request on a specific port of router's WAN to host on router's LAN. While traversing the NAT, the router can change the destination port. This document introduces how to set up port redirection on DrayTek Vigor Routers.
In this example, we would like to provide RDP (Remote Desktop Protocol) access to a computer on LAN for Internet clients.
NOTE: Since firmware version 3.8.4, we can also specify Source IP to limit the access to authorized IP only.
1. Go to NAT >> Port Redirection, and click on an available index to add a new profile.
2. Edit the profile as follows:
3. With the above settings, the connection requests sent to the router on port 11000, it will forward the request to private IP 192.168.1.10, and change the destination port will to 3389, which the RDP service is listening. Now, the clients from the Internet can access the server on router's LAN by router's WAN IP and the defined public port.
Vigor router also supports Range mode port redirection, in which a range of public ports will be redirected to the same private port of several LAN devices.
1. Go to NAT >> Port Redirection, and click on an available index to add a new profile.
2. Edit the profile as follows:
Now when Internet client accesses http://100.100.100.100:8080, it will be redirected to web server1(192.168.1.2:80); and when Internet client accesses http://100.100.100.100:8081, it will be redirected to web server2(192.168.1.3:80) and so on.
Since firmware version 3.8.4, the network administrator can specify the source IP in Port Redirection and Open Ports. This function can be used in the situation we only want to allow some of the IPs to access the server behind the router, and increase the level of security while allowing Internet access.
For example, if the network administrator only allows the IP 200.200.200.200 to use the RDP service on 192.168.1.10.
1. Go to Object Setting >> IP Object, select one of the profile indexes.
2. Edit the profiles as follows:
3. Go back to NAT >> Port Redirection, select the profile set for the RDP, select Source IP, click OK to save.
Now, this Port Redirection rule will only apply to the connecting request from IP 200.200.200.200 and redirect it to the RDP server.
If the port redirection is not working as expected, please check:
Go to NAT >> Port Redirection, click Add to create a profile, and edit it as follows:
Now, we can access the server behind NAT (Vigor3900) from Vigor3900's WAN IP with the specified port.
Published On: 2015-11-13
Was this helpful?