华为:
inter ethernet 0/0
nat outbound 2000 (内网访问外网的NAT)
nat server protocol tcp global current-interface 211 inside 192.168.1.58 211
nat server protocol tcp global current-interface www inside 192.168.1.58 www
nat server protocol tcp global current-interface 5870 inside 192.168.1.58 5870
nat server protocol tcp global current-interface 5871 inside 192.168.1.58 5871
nat server protocol tcp global current-interface 5872 inside 192.168.1.58 5872
nat server protocol tcp global current-interface 5873 inside 192.168.1.58 5873
(或者为公网IP地址) (内网服务器的ip地址)
中兴:
ip nat max-entry-number 64
ip nat start
ip nat pool netpool 112.5.143.87 112.5.143.87 prefix-length 24
ip nat inside source list 1 pool netpool overload
ip nat translation timeout class a 20
ip nat translation timeout class b 60
ip nat translation timeout class c 150
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余2页未读,立即下载