分类:
2012-12-25 13:58:51
Cisco带端口映射的NAT如下:
Interface fastethernet0/0 Ip address 192.168.1.1 255.255.255.0 Duplex auto Speed auto Ip inside No shutdown Interface fastethernet0/1 Ip address 211.82.220.129 255.255.255.248 Duplex auto Speed auto Ip outside No shutdown Access-list 1 permit 192.168.1.0 0.0.0.255 Ip nat inside source list1 interface fastethernet0/1 overload Ip nat inside source static tcp 192.168.1.2 80 202.99.220.130 80 Ip nat inside source static tcp 192.168.1.3 21 202.99.220.130 21 Ip nat inside source static tcp 192.168.1.4 25 202.99.220.130 25 Ip nat inside source static tcp 192.168.1.5 110 202.99.220.130 110