Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UPnP / PCP 管理器

删除规则

luci-app-upnp-pcp-manager

项目简介

一个用于 OpenWrt / iStoreOS 的 LuCI 插件,用来查看 UPnP、PCP 和 NAT-PMP 创建的 IPv4 / IPv6 放行规则。

English: A LuCI plugin for OpenWrt / iStoreOS to view IPv4 and IPv6 openings created by UPnP, PCP and NAT-PMP.

功能

  • 在“服务 → UPnP / PCP 管理器”中查看 IPv4 和 IPv6 放行规则。
  • 按客户端、MAC 地址、IP 地址、端口和协议合并显示。
  • 支持多个 IPv6 地址展开查看。
  • 支持复制 MAC 地址和 IP 地址。
  • 支持查看原始 nftables 规则。
  • 支持选择 nft 句柄并删除对应的 upnp_forward 规则。
  • 使用 LuCI 原生自动刷新,默认每 5 秒刷新。

English:

  • View IPv4 and IPv6 openings under “Services → UPnP / PCP Manager”.
  • Group rules by client, MAC address, IP address, port and protocol.
  • Expand and inspect multiple IPv6 addresses.
  • Copy MAC and IP addresses with one click.
  • View the original nftables rules.
  • Select nft handles and remove rules from the upnp_forward chain.
  • Use LuCI's native polling with a default five-second refresh interval.

数据来源

插件读取以下 OpenWrt 系统信息:

  • inet fw4 upnp_forward nftables 链
  • DHCP 租约
  • IPv4 / IPv6 邻居表
  • miniupnpd 租约描述

English: The plugin reads the inet fw4 upnp_forward nftables chain, DHCP leases, IPv4 / IPv6 neighbour information and miniupnpd lease descriptions.

注意事项

删除操作只删除当前 nftables 放行规则,不会删除客户端内部的 UPnP / PCP 状态。客户端自动续租或重新申请后,规则可能再次出现。

English: Deletion only removes the current nftables rule. It does not remove the client's internal UPnP / PCP state, so the rule may reappear when the client renews or requests it again.

About

OpenWrt LuCI manager for UPnP, PCP and NAT-PMP IPv4/IPv6 openings

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages