找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 12011|回复: 0

[其它] ROS软路由开启配置UPNP

[复制链接]
发表于 2016-12-1 17:30:07 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
ip upnp set enabled=yes
ip upnp interfaces add interface=pppoe-out1 type=external disabled=no
ip upnp interfaces add interface=bridge-local type=internal disabled=no

启动支持UPNP的软件进行测试,如迅雷:
ip firewall nat print all
chain=srcnat action=masquerade out-interface=pppoe-out1
chain=dstnat action=dst-nat to-addresses=192.168.1.250 to-ports=41019 protocol=tcp\
dst-address=8.8.8.8 dst-port=41019
chain=dstnat action=dst-nat to-addresses=192.168.1.250 to-ports=64677 protocol=udp\
dst-address=8.8.8.8 dst-port=41019
routeros
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-3-29 22:59 , Processed in 0.067781 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表