New Member
Posts: 20
Registered: ‎10-26-2012
Kudos: 6
Accepted Solution

Port forwarding in v1.5

Hello.

I'm setting up a ERL (v1.5 final) basic setup from scratch (using SOHO guide) and I was wondering about port forwarding.

1) Should I use this old guide or the new tab window in 1.5?

2) If using new "method", do I also have to put in a firewall rule under WAN_IN, like the one in the guide (adding rule no3 for 192.0.2.15 tcp port 22)?

3) How do I put in a port range instead of only single port?


Accepted Solutions
Emerging Member
Posts: 53
Registered: ‎06-12-2014
Kudos: 28
Solutions: 4

Re: Port forwarding in v1.5

[ Edited ]

1. Use the new one to make them show up in the GUI too. Also, if you use the new method you can let the port-forward handle the corresponding firewall rule. (see point 2)

2. I have converted from the old style to the new port forward functionality and I have removed my firewall rules for the incoming traffic. This is handled by the port forward. Make sure you enable auto-firewall to make this work:

edgeadmin@EdgeRouter:~$ configure
edgeadmin@EdgeRouter# set port-forward auto-firewall enable
edgeadmin@EdgeRouter# commit
edgeadmin@EdgeRouter# save

3. Just specify the range as <start>-<stop>

edgeadmin@EdgeRouter# show port-forward rule 6
 description "FTP to Gentoo (passive)"
 forward-to {
     address 192.168.10.10
     port 60000-60100
 }
 original-port 60000-60100
 protocol tcp

View solution in original post


All Replies
Emerging Member
Posts: 53
Registered: ‎06-12-2014
Kudos: 28
Solutions: 4

Re: Port forwarding in v1.5

[ Edited ]

1. Use the new one to make them show up in the GUI too. Also, if you use the new method you can let the port-forward handle the corresponding firewall rule. (see point 2)

2. I have converted from the old style to the new port forward functionality and I have removed my firewall rules for the incoming traffic. This is handled by the port forward. Make sure you enable auto-firewall to make this work:

edgeadmin@EdgeRouter:~$ configure
edgeadmin@EdgeRouter# set port-forward auto-firewall enable
edgeadmin@EdgeRouter# commit
edgeadmin@EdgeRouter# save

3. Just specify the range as <start>-<stop>

edgeadmin@EdgeRouter# show port-forward rule 6
 description "FTP to Gentoo (passive)"
 forward-to {
     address 192.168.10.10
     port 60000-60100
 }
 original-port 60000-60100
 protocol tcp