PassFinder AP2520 VoIP Router/Gateway Operation Manual
Version 1.10 / Mar. 2002
AddPac Technology Co., Ltd.
-
121
-
[Example] PAT Configuration and Usage
router # config
router (config)#
☞
In this mode, NAT-list Config is possible.
router (config)# nat-list 0 pat 2.2.2.2
☞
Sets PAT that the
internal packet can take IP address 2.2.2.2 as the source address
when going outside.
router
(config)#
nat
0
nat
static-entry
udp
1000
1.1.1.4
1.1.1.5
☞
Statically sets that packets should be sent to “1.1.1.4” and
“1.1.1.5” of internal host when Application (Dial Pad, Wow Call or
UDP No. 1000 port) tries to access to the network from outside. If
there are several internal hosts set, load is distributed in order.
router (config)# interface Ethernet 0 0
☞
Enters into the
configuration mode of the interface Ethernet 0.0
router (config-ether0.0)# ip
address 1.1.1.3 255.255.255.0
☞
Allocates addresses to Ethernet 0.0 interface. The address shall
be one of Indise local addresses.
router (config-ether0.0)# nat-group 5 pat
☞
Applies PAT pool
that is NAT-list 5 to Ethernet 0.0 interface. NAT/PAT shall be set
in the inside network always.
router (config-ether0.0)# end
☞
Exit from setting mode.
router # sh nat-list 5
☞
Shows setting of NAT/PAT List #5.
NAT/PAT table Id: 5 Type : PAT TYPE
PAT Outside Public Address : 2.2.2.2
NAT Outside Public : 0.0.0.0 - 0.0.0.0 Netmask: 0.0.0.0
NAT Timer(secs) : 300
PAT Timer(secs) : ICMP(60) TCP(3600) UDP(60) TCPSYN(60) TCPFIN(10)
PAT static entry :
UDP port(1000) :
1.1.1.4
1.1.1.5
router # sh nat-list ethernet 0.0
☞
Shows NAT/PAT setting in
ethernet interface 0.0 and Address Translation Table.
NAT/PAT table Id: 5 Type : PAT TYPE
PAT Outside Public Address : 2.2.2.2