interface GigabitEthernet0/0 port link-mode route combo enable copper ip address (公网地址)255.255.255.248 tcp mss 1280 nat outbound 2000 nat server protocol tcp global 58.18.55.164 80 inside 192.169.136.1 80 nat server protocol tcp global 58.18.55.165 80 inside 192.168.200.1 80 nat server protocol tcp global 58.18.55.165 33890 inside 192.168.200.1 3389 nat server protocol tcp global current-interface 590 inside 192.169.100.2 590 nat server protocol tcp global current-interface 5900 inside 192.169.100.2 5900 nat server protocol tcp global current-interface 8000 inside 192.169.100.2 8000 nat server protocol tcp global current-interface 9902 inside 192.169.100.2 9902 nat server protocol tcp global current-interface 30000 inside 192.169.100.2 30000 nat server protocol udp global current-interface 590 inside 192.169.100.2 590 nat server protocol udp global current-interface 5900 inside 192.169.100.2 5900 nat server protocol udp global current-interface 8000 inside 192.169.100.2 8000 nat server protocol udp global current-interface 9902 inside 192.169.100.2 9902 nat server protocol udp global current-interface 30000 inside 192.169.100.2 30000 #
(0)
最佳答案
您好,请知:
根据配置得知G0/0端口被设置为外网口。
nat outbound 2000 //允许ACL 2000内的规则进行NAT地址转换
nat server protocol tcp global 58.18.55.164 80 inside 192.169.136.1 80 //在G0/0端口内,将内网服务器192.168.136.1转换为外网58.18.55.164的外网IP,采用TCP协议,并提供80端口的服务。
以下配置以此类推,请悉知!
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
自己水平不够,就多虚心请教。别人帮你你还说脏话,素质呢?