ROS软路由开启配置UPNP
ip upnp set enabled=yesip 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
页:
[1]