SatLink VSAT User Guide
Publication no. 101557
Copyright © 2009 – STM Group, Inc.
Page 61 (160)
10.1.2 Configuration of Static NAPT
Static NAPT is used to map incoming connections to different local hosts dependent on their TCP/UDP
port number.
When using static NAPT, both the IP addresses and port numbers of the incoming packets will be
substituted with the IP addresses and port numbers that are defined using the CLI command:
# ip nat napt add <gladdr> <glport> <locaddr> [<locport>].
Multiple global address/port combinations can be mapped to the same local address/port.
Static NAPT entries in the address translation table are removed by issuing the CLI command:
# ip nat napt del <gladdr> <glport>
To view the currently configured static NAPT entries, type the CLI command: # ip nat show
Example:
# ip nat napt add 10.10.2.2 5000 192.168.0.12 3000
# ip nat show
NAT Configuration
-----------------
Network Address Port Translation (NAPT): Enabled
Global Address Table
If IP Address
dvb0 10.10.1.10
Static NAPT Map
If Global Address/Port Local Address/Port
dvb0 10.10.2.2/5000 192.168.0.12/3000
NAT Status
----------
Total Sessions 0
Active Sessions 0
Failed Sessions 0
Packet Translations 0
10.1.3 Configuration of Static NAT
Static NAT provides two-way access to servers behind NAT. The destination IP address of the incoming
packet is replaced by the corresponding local address that is configured in the Static NAT Map Table.
Likewise, when the host device sends a packet towards the satellite network, the source IP address of the
outgoing IP packet is replaced by the global address configured in the Static NAT Map Table.
The Static NAT MAP Table is configured using the following CLI command:
ip nat static add <globaddr> <locaddr>
Entries in the Static NAT MAP Table are deleted using:
ip nat static del <globaddr> <locaddr>
To view entries in the NAT tables, use
ip nat show.