
NAT/NAPT configuration task list
136
IPLink Software Configuration Guide
12 • NAT/NAPT configuration
Example:
Display NAT/NAPT configuration information
IPLink(pf-napt)[access]#show profile napt access
NAPT profile access:
--------------------------
STATIC NAPT MAPPINGS
Protocol Local IP Local Port Global IP Global Port
-------- --------------- ----------- --------------- -----------
tcp 192.168.1.20 80 0.0.0.0 80
tcp 192.168.1.20 23 131.1.1.3 23
STATIC NAT PROTOCOL MAPPINGS
Protocol Local IP Global IP
-------- --------------- ---------------
ah 192.168.1.41 131.1.1.120
STATIC NAT MAPPINGS
Local IP Global IP
--------------- ---------------
192.168.1.40 131.1.1.20
STATIC NAPT RANGE MAPPINGS
Local IP Start Local IP Stop Global IP
--------------- --------------- ---------------
192.168.1.10 192.168.1.19 131.1.1.15
STATIC NAT RANGE MAPPINGS
Local IP Start Local IP Stop Global IP Start Global IP Stop
--------------- --------------- --------------- ---------------
192.168.1.30 192.168.1.39 131.1.1.10 131.1.1.15
Configuring NAT static protocol entries
The following command adds a static NAT entry, which causes any packets of the specified protocol received
on the global side of the NAT to be forwarded to the host specified on the local side of the NAT.
node(pf-napt)[ name]#static { udp | tcp } local-ip local-port [ global-ip] [ global-port]
Mode:
profile napt <pf-napt>
Step
Command
Purpose
1
[
name
]
(
pf-napt
)#
static <protocol>
<local-ip-address> [<global-ip-
address>]
Adds a static NAT protocol entry
Содержание IPLink Series
Страница 309: ...309 Appendix B Mode summary Chapter contents Introduction 310...
Страница 312: ...Introduction 312 IPLink Software Configuration Guide B Mode summary...
Страница 325: ...325 Appendix D Internetworking terms acronyms Chapter contents Abbreviations 326...
Страница 330: ...330 Appendix E Used IP ports in the IPLink software Chapter contents Used IP ports in the IPLink software 331...