配置静态NAT接口转换!

来源:百度知道 编辑:UC知道 时间:2024/06/23 00:35:37

(config)#ip nat inside source static <私有ip> <公网IP> IP NAT iP转换 inside 内部的 source源 static静态
应用到进出端口上:
(config)#int s0
(config-if)#ip nat outside
(config0#int fa0/0
(config-if)#ip nat inside

在路由里面设置