22
Gateway(config)# no
applications dmz
Disable DMZ function.
Show Command
Gateway(config)# show
applications dmz
Shows the current status of DMZ.
2. Set up Port Forwarding function.
Command
Parameter
Description
Gateway(config)# applications
port-forwarding
Enable Port Forwarding function. A host
on the private network of the Residential
Gateway is invisible from the Internet for it
is protected by the firewall. Therefore,
when a server is on the private network,
its service will be inaccessible from the
Internet. To open the service to hosts on
the Internet, the network administrator
may adopt Port Forwarding feature. Port
Forwarding allows an IP address on the
private network to be accessed from an IP
address on the public network. It will
redirect packets from the public network
to a specified private IP address if the
packets meet the pre-condition of a port
forwarding rule.
Gateway(config)# applications
port-forwarding [1-10]
[1-10]
Specify port forwarding list number.
Gateway(config)# applications
port-forwarding apply
Apply all the configured port forwarding
settings made.
Gateway(config-port-forwarding-
No.)# active
Enable the port forwarding rule.
Gateway(config-port-forwarding-
No.)# description [description]
[description]
Specify any remark on the rule up to 20
characters.
Gateway(config-port-forwarding-
No.)# client-ip [A.B.C.D]
[A.B.C.D]
Specify the IP address of the server on
the private network.
Gateway(config-port-forwarding-
No.)# local-port [1-65535]
[1-65535]
Specify the port number which the
packets are destined to (1~65535).
Gateway(config-port-forwarding-
No.)# public-port [1-65535]
[1-65535]
Specify the port number which the
packets from the Internet are destined to
(1~65535).
Gateway(config-port-forwarding-
No.)# protocol [both|tcp|udp]
[both|tcp|udp] Choose
TCP
,
UDP
or
Both
as your
desired protocol.
No Command
Gateway(config)# no
applications port-forwarding
Disable Port Forwarding function.
Gateway(config)# no
applications port-forwarding [1-
10]
[1-10]
Delete the specified port forwarding rule.
Gateway(config-port-forwarding-
No.)# no active
Disable the port forwarding rule.
Gateway(config-port-forwarding-
No.)# no description
Clear the remark on the rule.