NEXPEED NR304G-4W User’s Manual
NexComm Systems, Inc. 60 PAGE
Configuration example
(conf)# nat pool test 168.126.188.101 168.126.188.110
creates a global IP address pool called test. The range of the pool is from
168.126.188.101
to
168.126.188.110
.
(conf)# nat pool test2 168.126.188.111 168.126.188.111
creates a global IP address pool called test2. The range of the pool is from
168.126.188.111
to
168.126.188.111
.
(conf)# nat map 192.168.1.1 192.168.1.254 test
establishes dynamic mapping between local network addresses and the
global address pool called test.
(conf)# nat portmap 192.168.1.1 192.168.1.254 test2
establishes port mapping between local network addresses and the global
address pool called test2.
(conf)# nat outside lan
The packet sending and receiving through the LAN interface will be
translate.
Management translation table
Inbound access control with PAT translation :
By default, all external attempts to access internal hosts are denied, and you must
configure specific access. For example, you can configure one "nat entry" command
that permits a host on the Internet (foreign host) to access your corporate (internal) host
using any port service(such as WWW).
To configure a static entry for an internal host, use the following command:
COMMAND
(conf)# nat entry <local-ip> <lport> <global-ip> <gport>
(conf)# nat entry <local-ip> ping <global-ip> ping