KarlJorgensen / virgin-media-hub3

Python API and command line interface to the Virgin Media Hub 3 broadband router
GNU General Public License v3.0
78 stars 18 forks source link

portforwarding list does not show UPnP-forwarded ports #11

Open InternalLoss opened 4 years ago

InternalLoss commented 4 years ago

The list for port forwarding does not show any UPnP forwarded ports (when enabled) - the real web interfaces requests OID 1.3.6.1.4.1.4115.1.20.1.1.4.53 and gets back:

{
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.2.1": "0",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.2.2": "0",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.2.3": "1",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.2.4": "0",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.3.1": "192.168.0.28",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.3.2": "192.168.0.28",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.3.3": "192.168.0.19",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.3.4": "192.168.0.19",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.4.1": "9308",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.4.2": "3659",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.4.3": "2622",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.4.4": "2622",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.5.1": "9308",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.5.2": "3659",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.5.3": "2622",
  "1.3.6.1.4.1.4115.1.20.1.1.4.53.1.5.4": "2622"
}

In the Web UI, I see:

192.168.0.28 | 9308 | 9308 | UDP | Automatically added by UPnP
192.168.0.28 | 3659 | 3659 | UDP | Automatically added by UPnP
192.168.0.19 | 2622 | 2622 | TCP | Automatically added by UPnP
192.168.0.19 | 2622 | 2622 | UDP | Automatically added by UPnP