From b3f174268ef9c522980b8a052aa543d2f05f225f Mon Sep 17 00:00:00 2001 From: maybeetree Date: Wed, 16 Oct 2024 14:15:09 +0000 Subject: [PATCH] upnpc: add page (#14125) Co-authored-by: K.B.Dharun Krishna Co-authored-by: Wiktor Perskawiec Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/linux/upnpc.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/upnpc.md diff --git a/pages/linux/upnpc.md b/pages/linux/upnpc.md new file mode 100644 index 0000000000..9a15bb99e9 --- /dev/null +++ b/pages/linux/upnpc.md @@ -0,0 +1,20 @@ +# upnpc + +> Configure port forwarding rules on your router via the UPnP protocol. +> More information: . + +- Forward the external TCP port 80 to port 8080 on a local machine: + +`upnpc -a {{192.168.0.1}} 8080 80 tcp` + +- Delete any port redirection for external TCP port 80: + +`upnpc -d 80 tcp` + +- Get information about UPnP devices on your network: + +`upnpc -s` + +- List existing redirections: + +`upnpc -l`