|
|
|||||||||
|
|
|
|
|
||||||
|
|
|
|
|
||||||
|
|
|
|
|
||||||
|
|
|||||||||
|
|
|||||||||
|
|
|
|
|
|
|
|
|
|
|
|
Links Back to the How-To List |
Port-forwarding a range of addresses Problem: You want to forward a range of addresses from the router to a specific box on your LAN, such that requests to any of the selected ports is automatically forwarded to the selected box. Solution: Login to your Freesco box as root (via telnet). Type:
Near the end of the file, just below the spot where it says "Starting rc_user...", type the following.
Replace <firstport> with the FIRST port in the range, and <lastport> with the LAST port in the range. Replace
<destination> with the IP address of the machine you want the ports to be forwarded to.For example, to forward ports 2500-2600 to a machine on your LAN at 192.168.43.102, you'd enter:
Now, restart rc_user with the following command:
The range of ports should now be open, and automatically forwarded to the desired machine. |
|