Command Line Interface User’s Guide
unregistered_only
nat -o -unregistered_only [yes|no]
If yes, only the outbound packets with unregistered source IP addresses are translated. All the
outbound packets with the registered source IP addresses are forwarded on the WAN interface
without translation. This is useful if you have one more subnet having a registered IP address
that shares the common WAN link with the subnet having an unregistered IP address.
Registered addresses are addresses reachable and advertised in the Internet whereas unregistered
addresses are private addresses which are not reachable through the Internet. Currently there is
no command to display registered addresses.
EXAMPLE
nat -o -unregistered_only yes
Tells the NAT module to translate only those outgoing packets that bears a unregistered IP
address in the source address field of the packet header.
same_ports
nat -o -same_ports [yes|no]
This command tries to keep original port numbers for connections. If yes, nat will try to retain
the source port without modification for outgoing packets. This can only be done if the port is
not already in use by another connection. The default is yes.
EXAMPLE
nat -o -same_ports yes
This command tells the NAT module to retain the same source port while translating outbound
packets. However, if this causes conflicts with existing entries in the NAT table then the source
port will be modified.
alias_address x.x.x.x
nat -o alias_address x.x.x.x
This command sets up the address to use for aliasing. The source address field of the outbound
packets from the WAN interface will be overwritten with the specified ip_address.
EXAMPLE
1800-A2-GB20-00
81