NAPT Configuration
99
This command creates and enters new profiles, enters existing profile or removes existing profile.
After entering the profile, the commands
static
and
icmp default
are available to configure the
profile.
Procedure
To create the new NAPT profile
Mode
Configure
Command
Purpose
Step 1
node
(cfg)#profile napt
name
Creates the new NAPT profile
name
Example: Creating a NAPT Profile
The following example shows how to create the new NAPT profile
access
. Use the following
command in configuration mode.
SN(cfg)#
profile napt access
13.5 Adding a Static NAPT Entry
The command
static
defines that all packets arriving on the global interface at
port
are forwarded to
the host with IP address
ip-address
in the local network This and similar commands can be entered to
build up a static port translation table that is used by the router.
Modifications to static entries of a bound profile immediately reconfigure the static port-mapping
table of the router. However if you remove a static entry, the router continues forwarding packets to
the previously configured host in the local network until the connection terminates or a timeout
occurs.
Procedure
To add a static NAPT entry to the NAPT profile
Mode
Configure
Command
Purpose
Step 1
node
(cfg)#profile napt
name
Selects the existing NAPT profile
name
for
configuration
Step 2
node
(pf-napt)[
name
]#static {tcp
| udp}
port
ip-address
Defines that all packets arriving on the global
interface at port
port
are forwarded to the host
with IP address
ip-address
in the local network
Example: Adding a NAPT Entry
The following example shows how to add a static NAPT entry to profile
access
. All TCP packets,
arriving at the global interface at port
80
, are forwarded to the host with IP address
192.168.1.1
in the
local network. Use the following commands in configuration mode.
SN(cfg)#
profile napt access
SN(pf-napt)[access]#
static tcp 80 192.168.1.1
Software Configuration Guide Release 2.10, Revision 1.00
Summary of Contents for SmartWare Release 2.10
Page 2: ...2 Legal Notice Software Configuration Guide Release 2 10 Revision 1 00...
Page 15: ...Terms and Definitions 15 Software Configuration Guide Release 2 10 Revision 1 00...
Page 218: ...218 PPP Configuration no shutdown Software Configuration Guide Release 2 10 Revision 1 00...
Page 272: ...272 Tone Configuration Software Configuration Guide Release 2 10 Revision 1 00...