Portforwarding issue: Part range to single destination port
-
Firewall: NAT: Port Forward: Edit
Redirect target port:Specify the port on the machine with the IP address entered above. In case of a port range, specify the beginning port of the range (the end port will be calculated automatically).
Hint: this is usually identical to the 'from' port aboveOK - What about then if I want to forward a range of ports to single destination port? Now I must do this rule individually per every port but I would like to do it in one rule, not 100! (I need to forward 100 UDP ports to single port)
Any easy way to do this?
-
bump.. same need as below..
-
What happens when the destination port does not match the beginning port? It seems like then it would not calculate automatically.
Destination port range: 2000-3000
Redirect target port: 2001 -
You need individual port forwards for that.
When you specify a single target port, no matter if it matches or not, that is used as the start of a range. The ports in rdr rules must have a 1:1 relationship between external and target ports, you can't funnel a bunch of ports into a single port with one rule. (And why would you? It doesn't gain you anything)
-
you can't funnel a bunch of ports into a single port with one rule. (And why would you? It doesn't gain you anything)
Actually, we're planning to set up a server that will present a "we'll be right back" page during maintenance windows and we want all publicly accessible ports to be redirected to that server.