Multicast - Routing, Proxying - UPnP Sheet

Multicast - Routing, Proxying - UPnP Sheet

Here is a small overview for Multicast. / UPnP / SSDP - WiP!

SSDP / UPnP

SSDP Request / Response
SSDP shown in Wireshark

Setup UPNP on Host and Forwarding self edited on host

# INSTALL
apt install miniupnpc

# RUN
~# upnpc -a <HOST_IP> 9981 7777 tcp

upnpc : miniupnpc library test client, version 2.2.1.
 (c) 2005-2020 Thomas Bernard.
Go to http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://ROUTER:49000/igddesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

 desc: http://ROUTER:49000/igddesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://ROUTER:49000/igdupnp/control/WANIPConn1
Local LAN ip address : <HOST_IP>
ExternalIPAddress = <EXTERN_HOST_IP>
InternalIP:Port = <HOST_IP>:9981
external <EXTERNHOST_IP>:7777 TCP is redirected to internal <HOST_IP>:9981 (duration=0)

#
# REMOVE PORT FORWARDING
upnpc -d 7777 tcp

UPnP Specification (PDF)

https://openconnectivity.org/wp-content/uploads/2015/11/UPnP-arch-DeviceArchitecture.pdf

MULTICAST ROUTING / PROXY