interface Ethernet8/1 port link-mode route description TO-ShiXinXiZhongXin firewall packet-filter 3604 inbound nat outbound static ip address 172.22.2.54 255.255.255.252 undo ip fast-forwarding interface Vlan-interface125 description TO-DongGuanGongShangJu ip address 172.31.242.237 255.255.255.240 undo ip fast-forwarding nat outbound static nat outbound 3002 address-group 4 nat outbound 3001 address-group 3 nat server protocol tcp global 172.31.242.232 23801 inside 15.56.2.2 23801 服务器映射到公网 firewall packet-filter 3627 inbound interface Vlan-interface218 description TO-MeiYiJia_QianZhiJi shutdown ip address 173.56.8.42 255.255.255.252 nat outbound static interface GigabitEthernet0/0 port link-mode route description CONNECT_TO_GD_ECN_RT_1:G9/19(511) via 2M_MSTP firewall packet-filter name Antivirus_All outbound nat outbound static nat outbound 2000 address-group 1 nat server protocol tcp global 197.56.8.24 46301 inside 19.106.181.10 46301 nat server protocol tcp global 56.8.197.134 5053 inside 19.106.181.10 5053 duplex full speed 100 ip address 56.0.246.2 255.255.255.252 ospf cost 10 设置ospf动态路由的优先级 ospf bfd enable echo 配置ospf bfd的联动加速收敛 undo ip fast-forwarding nat static 172.18.13.29 56.8.197.96 nat static 192.168.11.1 56.8.197.14 nat static 192.168.11.53 56.0.196.41 nat static 192.168.11.5 56.8.197.15 nat static 180.0.1.1 56.8.197.21 nat static 10.249.13.195 56.8.197.1 nat static 10.249.13.194 56.8.197.2 nat static 128.127.126.135 56.8.197.10 nat static 192.8.100.26 56.8.197.19 nat static 10.255.254.3 56.8.197.23 nat static 192.168.99.11 56.8.197.18 nat static 10.249.13.196 56.8.197.81 这个NAT配置是不是不正常的,单接口下NAT static调用,会把下面那么一大串NAT的地址做映射吗
zhegetic 192.168.100.24 56.8.197.95 nat static 192.8.100.27 56.8.197.94 nat static 192.168.200.20 56.8.197.93 nat static 19.104.10.55 56.8.197.65 nat static 19.104.92.31 56.8.197.80 nat static 19.104.8.128 56.1.207.33 nat static 19.104.8.133 56.1.207.34 nat static 19.104.8.147 56.1.207.35 nat static 19.104.8.142 56.1.207.36 nat static 19.104.22.1 56.1.207.37 nat static 19.1
(0)
你这格式完全没法看啊
NAT static 做完之后相当于是一个公网地址对应一个内网地址的映射,这个公网地址只给对应的内网地址用。
(0)
不会的,静态映射和端口映射与接口下的nat outbound 是两个方向,接口下的nat outbound是把内部地址转换成wan口地址出去,而静态映射和端口映射是把外部的请求转换成内部地址交给内部服务器,常见的情况,一个接口下一个公网地址,做nat outbound ,但同时你可以做多条端口映射
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论