⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 miniupnpd.conf

📁 很小的linux下的upnp服务器端代码适合嵌入式系统
💻 CONF
字号:
# WAN network interface#ext_ifname=eth0ext_ifname=xl1# if the WAN interface has several IP addresses, you# can specify the one to use below#ext_ip=# there can be multiple listening ips for SSDP traffic.# should be under the form nnn.nnn.nnn.nnn/nn# HTTP is available on all interfaceslistening_ip=192.168.0.1/24listening_ip=192.168.1.1/24#listening_ip=# port for HTTP (descriptions and SOAP) trafficport=5555# bitrates reported by daemon in bits per secondbitrate_up=1000000bitrate_down=10000000# default presentation url is http address on port 80#presentation_url=http://www.mylan/index.php# report system uptime instead of daemon uptimesystem_uptime=yes# notify interval in seconds. default is 30 seconds.#notify_interval=240notify_interval=60# unused rules cleaning.# never remove any rule before this threshold is reached. default to 20#clean_ruleset_threshold=10# clean process work interval in seconds. default to 0 (disabled).# a 600 seconds (10 minutes) interval makes senseclean_ruleset_interval=600# log packets in pf#packet_log=no# uuid : generate your own with "make genuuid"uuid=fc4ec57e-b051-11db-88f8-0060085db3f6# serial and model number the daemon will report to clients# in its XML descriptionserial=12345678model_number=1# UPnP permission rules# (allow|deny) (external port range) ip/mask (internal port range)# A port range is <min port>-<max port> or <port> if there is only# one port in the range.# ip/mask format must be nn.nn.nn.nn/nnallow 1024-65535 192.168.0.0/24 1024-65535allow 1024-65535 192.168.1.0/24 1024-65535allow 1024-65535 192.168.0.0/23 22allow 12345 192.168.7.113/32 54321deny 0-65535 0.0.0.0/0 0-65535

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -