E-DOC-CTC-20061027-0003v2.0
NAT Commands
573
EXAMPLE:
RELATED COMMANDS:
=>nat maplist
Idx Type Interface Outside Address Inside Address Use
1 NAPT eth0 any:80 127.0.0.1:8080 0
2 NAPT eth0 any:1080 127.0.0.1:8080 0
3 NAPT eth0 any:8080 127.0.0.1:8080 0
=>nat mapadd intf=myPPP_ppp type=napt outside_addr=100.100.100.1 access_list=10.0.0.0/24
=>nat maplist
Idx Type Interface Outside Address Inside Address Use
1 NAPT myPPP_ppp 100.100.100.1 unmapped 0
1 NAPT eth0 any:80 127.0.0.1:8080 0
2 NAPT eth0 any:1080 127.0.0.1:8080 0
3 NAPT eth0 any:8080 127.0.0.1:8080 0
=>maplist intf=myPPP_ppp expand=enabled
Idx Type Interface Outside Address Inside Address Use
1 NAPT myPPP_ppp 100.100.100.1 unmapped 0
Access List................... 10.0.0.0/24
Foreign Address............... any
Protocol...................... any
Flags......................... Static
Description................... Outbound NAPT without defserver
=>
nat mapdelete Delete an address mapping from a NAT enabled interface.nat maplist Display the address mapping for a NAT enabled interface.