NAT Commands
E-DOC-CTC-20060414-0002 v1.0
512
nat mapadd
Add an address mapping to a Network Address Translation (NAT) enabled interface.
SYNTAX:
where:
nat mapadd
intf = <string>
[type = <{napt | nat}>]
[outside_addr = <ip-range>]
[inside_addr = <ip-range>]
[access_list = <ip-range>]
[foreign_addr = <ip-range>]
[protocol = <{supported IP protocol} or number>]
[outside_port = <port-range>]
[inside_port = <port-range>]
[mode = <{auto | inbound | outbound}>]
intf
The IP interface name.
Note
The specified interface must be an existing NAT enabled interface.
REQUIRED
type
The type of NAT map to be used.
Choose between:
napt
: The map is a Network Address Port Translation (NAPT) map or a
port-shifting NAT map.
nat
: The map is a basic NAT map or a two-way NAT map.
OPTIONAL
outside_addr
The outside (typically public) IP address.
Inbound: This map will only apply if the destination IP address is part of
the outside address(es).
Outbound: Represents the address(es) to be used as source address
after translation.
Allowed values are:
An IP address (A.B.C.D or A.D, meaning A.0.0.D).
A range of IP addresses (A.B.C.[D-E]) (only for NAT).
An IP subnet (A.B.C.D/M) (only for NAT).
REQUIRED for
NAT maps
and NAPT
maps.
OPTIONAL for
port-shifting
maps.
inside_addr
The inside (typically private) IP address.
Inbound: Represents the address(es) to be used as destination address
after translation.
Outbound: This map will only apply if the source IP address is part of
the inside address(es).
Allowed values are:
An IP address (A.B.C.D or A.D, meaning A.0.0.D).
A range of IP addresses (A.B.C.[D-E]) (only for NAT).
An IP subnet (A.B.C.D/M (only for NAT)).
The default is
““
(unmapped).
Note
If specified, the number of inside addresses must be equal to the
number of outside addresses.
OPTIONAL for
NAT maps
and NAPT
maps.
REQUIRED for
port-shifting
maps.
Содержание SpeedTouch 516
Страница 2: ......
Страница 3: ...SpeedTouch 516 v6 536 v6 546 v6 CLI Reference Guide ...
Страница 30: ...ADSL Commands E DOC CTC 20060414 0002 v1 0 10 ...
Страница 47: ...ATM Commands E DOC CTC 20060414 0002 v1 0 27 atm bundle flush Flush all bundles SYNTAX atm bundle flush ...
Страница 61: ...ATM Commands E DOC CTC 20060414 0002 v1 0 41 atm oam ping Send ATM loopback cells ...
Страница 86: ...AutoPVC Commands E DOC CTC 20060414 0002 v1 0 66 ...
Страница 94: ...Config Commands E DOC CTC 20060414 0002 v1 0 74 ...
Страница 130: ...DHCP Commands E DOC CTC 20060414 0002 v1 0 110 dhcp client ifdelete Delete a DHCP client ...
Страница 198: ...DNS Commands E DOC CTC 20060414 0002 v1 0 178 dns client flush Remove all DNS servers SYNTAX dns client flush ...
Страница 236: ...DynDNS Commands E DOC CTC 20060414 0002 v1 0 216 dyndns flush Delete all the dynamic DNS clients SYNTAX dyndns flush ...
Страница 248: ...E DOC CTC 20060414 0002 v1 0 228 Env Commands env flush Flush all the non system environment variables SYNTAX env flush ...
Страница 262: ...Eth Commands E DOC CTC 20060414 0002 v1 0 242 eth bridge clear Clear the bridge statistics SYNTAX eth bridge clear ...
Страница 313: ...Expr Commands E DOC CTC 20060414 0002 v1 0 293 expr flush Flush all the expressions SYNTAX expr flush ...
Страница 315: ...Expr Commands E DOC CTC 20060414 0002 v1 0 295 EXAMPLE 1 ...
Страница 317: ...Expr Commands E DOC CTC 20060414 0002 v1 0 297 EXAMPLE 2 ...
Страница 322: ...Expr Commands E DOC CTC 20060414 0002 v1 0 302 ...
Страница 330: ...Firewall Commands E DOC CTC 20060414 0002 v1 0 310 firewall chain flush Flush all chains SYNTAX firewall chain flush ...
Страница 360: ...GRP Commands E DOC CTC 20060414 0002 v1 0 340 ...
Страница 382: ...IDS Commands E DOC CTC 20060414 0002 v1 0 362 ...
Страница 385: ...IGMP Commands E DOC CTC 20060414 0002 v1 0 365 igmp host flush Flush the IGMP settings SYNTAX igmp host flush ...
Страница 404: ...Interface Commands E DOC CTC 20060414 0002 v1 0 384 ...
Страница 432: ...IP Commands E DOC CTC 20060414 0002 v1 0 412 ip auto flush Flush the autoIP interfaces SYNTAX ip auto flush ...
Страница 446: ...IP Commands E DOC CTC 20060414 0002 v1 0 426 ...
Страница 468: ...Label Commands E DOC CTC 20060414 0002 v1 0 448 label chain flush Flush all label chains SYNTAX label chain flush ...
Страница 482: ...Label Commands E DOC CTC 20060414 0002 v1 0 462 ...
Страница 500: ...MBUS Commands E DOC CTC 20060414 0002 v1 0 480 ...
Страница 529: ...NAT Commands E DOC CTC 20060414 0002 v1 0 509 nat flush Flush the current NAT configuration SYNTAX nat flush ...
Страница 547: ...PPP Commands E DOC CTC 20060414 0002 v1 0 527 RELATED COMMANDS ppp ifdetach Detach a PPP interface ...
Страница 554: ...PPP Commands E DOC CTC 20060414 0002 v1 0 534 RELATED COMMANDS ppp ifattach Attach a PPP interface ...
Страница 574: ...PPTP Commands E DOC CTC 20060414 0002 v1 0 554 ...
Страница 587: ...Service Commands E DOC CTC 20060414 0002 v1 0 567 service host flush Flush all host services SYNTAX service host flush ...
Страница 602: ...Service Commands E DOC CTC 20060414 0002 v1 0 582 ...
Страница 618: ...SNMP Commands E DOC CTC 20060414 0002 v1 0 598 ...
Страница 628: ...Software Commands E DOC CTC 20060414 0002 v1 0 608 ...
Страница 656: ...Upgrade Commands E DOC CTC 20060414 0002 v1 0 636 ...
Страница 684: ...System Logging Messages E DOC CTC 20060414 0002 v1 0 664 ...
Страница 694: ...Supported Key Names E DOC CTC 20060414 0002 v1 0 674 ...
Страница 709: ......