Figure 12.3 Configuring NAT
12.5.1 Twice NAT Commands
To add the NAT entry pairs associating the local NAT address and the real IP address, go to the
conf.fw.eth2
context and use the
WS5100_VPN> config fw eth2
WS5100_VPN.(Cfg).Fw.[eth2]> set addnat ?
Syntax: set addnat <"remoteRealIp,localNatIp">
In this command, a NAT entry was added in the
To delete a NAT entry, use set
To add a range of NAT addresses, use
WS5100_VPN.(Cfg).Fw.[eth2]> set addrange ?
Syntax: set addrange <"remoteRealIp,localNatIp,numEntries">
In this command, a range of NAT addresses was added in the
To delete a range of NAT addresses, use set
set addnet
command:
eth2
LAN.
delnat
and specify the addresses to be deleted.
set addrange
:
delrange
and specify the range to be deleted.
Configuring the WS5100 WTLS VPN
eth2
LAN.
12-21