We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编辑 /etc/config/upnpd 文件
/etc/config/upnpd
config upnpd 'config' option external_iface 'wan' option internal_iface 'lan lan1' # 多接口设置 option port '5000' option upnp_lease_file '/var/upnp.leases' option enabled '1' option log_output '1' option download '1024000' option upload '1024000' option uuid '64c385b1-3a97-438b-a108-fb6866eca4ba' option presentation_url 'http://192.168.2.1' config perm_rule option action 'allow' option ext_ports '1024-65535' option int_addr '0.0.0.0/0' option int_ports '1024-65535' option comment 'Allow high ports' config perm_rule option action 'deny' option ext_ports '0-65535' option int_addr '0.0.0.0/0' option int_ports '0-65535' option comment 'Default deny'
重启:/etc/init.d/miniupnpd restart
/etc/init.d/miniupnpd restart
root@OpenWrt:~# cat /var/etc/miniupnpd.conf ext_ifname=pppoe-wan listening_ip=eth1 listening_ip=eth2 port=5000 enable_natpmp=yes enable_upnp=yes secure_mode=yes pcp_allow_thirdparty=no system_uptime=yes lease_file=/var/upnp.leases bitrate_down=8388608000 bitrate_up=8388608000 presentation_url=http://192.168.2.1 uuid=64c385b1-3a97-438b-a108-fb6866eca4ba allow 1024-65535 0.0.0.0/0 1024-65535 deny 0-65535 0.0.0.0/0 0-65535
The text was updated successfully, but these errors were encountered:
UPnPTest.zip 相关测试工具
Sorry, something went wrong.
No branches or pull requests
配置文件
编辑
/etc/config/upnpd
文件重启:
/etc/init.d/miniupnpd restart
windows
测试
The text was updated successfully, but these errors were encountered: