_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW2020 Series User Manual
Issue: 2.1
Page 271 of 423
Figure 138: The firewall port forward page
Web Field/UCI/Package Option
Description
Web: name
UCI: firewall.<redirect label>.name
Opt: name
Sets the port forwarding name. For Web UI generated redirects the
<redirect label> takes the form of @redirect[x], where x is an integer
starting from 0.
Web: Protocol
UCI: firewall.<redirect label>.proto
Opt: proto
Defines layer 4 protocol to match incoming traffic.
Option
Description
UCI
tcp+udp
Match either TCP or UDP packets.
tcp udp
tcp
Match TCP packets only.
tcp
udp
Match UDP packets only.
udp
Web: External port
UCI: firewall.<redirect
label>.src_dport
Opt: src_dport
Specifies the incoming TCP/UDP port or port range to match. This is
the incoming destination port specified by the external host. Port
ranges specified as start:stop, for example, 2001:2020.
Blank
Match traffic to any port.
Range
1 - 65535
Web: Internal IP address
UCI: firewall.<redirect
label>.dest_ip
Opt: dest_ip
Specifies the internal (LAN) IP address for the traffic to be redirected
to.
Web: Internal port
UCI: firewall.<redirect
label>.dest_port
Opt: dest_port
Specifies the destination tcp/udp port for the redirect traffic.
Table 88: Information table for firewall port forward settings
The defined redirects can be sorted into a specific order to be applied. More specific rules
should be placed first.
After the redirect is created and saved, to make changes, click Edit. This will provide
further options to change the source/destination zones; specify source mac addresses
and enable NAT loopback (reflection).