
WikiPrint - from Polar Technologies
83
firewall n extport locport t ip s
This command is used to setup the port forwarding configuration of the modem.
n = 1 to 50 Port forwarding number
extport = 0 to 65535 External port number to forward to
locport = 0 to 65535 Local port number to forward to
t = 0 Disable
t = 1 UDP
t = 2 TCP
t = 3 Both UDP and TCP
ip = 0.0.0.0 to 255.255.255.255 Local IP address to forward to
s = 0 Disable forwarding
s = 1 Enable forwarding
Notes:
• Up to 50 port forwarding configurations can be set.
• The local IP address will default to 192.168.1.X, where X is extracted from iii.iii.iii.iii and 192.168.1 is extracted from the IP address in the LAN
Configuration setting.
• LAN IP addresses used in port forwarding rules must match the LAN subnet as configured using [lanip], [lannetmask], and [lanrepip].
• The corresponding Port Forwarding Rules (PortFwd) page in the Web Interface only shows the first 10 port forwarding configurations.
Examples:
1. Set port forwarding #1 to forward data destined for port 8080 (same external & local port number), for both UDP and TCP, to IP 192.168.1.20 and
enabled :
cmd firewall 1 8080 8080 3 192.168.1.20 1
1. Set port forwarding #2 to forward UDP data destined for external port 42375 and redirect it to local port 5001 at IP 192.168.1.20 and enabled :
cmd firewall 2 42375 5001 1 192.168.1.20 1
See also: [Friends List]
Comentários a estes Manuais