firewall n extport locport t ip s

This command is used to setup the port forwarding configuration of the modem.

n = 1 to 50Port forwarding number
extport = 0 to 65535External port number to forward to
locport = 0 to 65535Local port number to forward to
t = 0Disable
t = 1UDP
t = 2TCP
t = 3Both UDP and TCP
ip = 0.0.0.0 to 255.255.255.255Local IP address to forward to
s = 0Disable forwarding
s = 1Enable forwarding

Notes:


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

Last modified 7 years ago Last modified on 12-12-28 04:14:55 PM