Bonjour,
Voici un script python qui fait ce que tu demande :
https://mega.nz/file/UmQ2EIyY#geKpBLpCNAh_M2iYBHubXoTGIemd6SZZ42omJhgjiRMIl affiche les ports ouverts en manuel et les ports ouverts via UPNP. Bien penser a changer le mot de passe dans le script.
Exemple en interrogeant ma Box8x :
python3 Box8_PortForwarding
START
Nonce: 7aewvmK0CR4erJRIwpwpCNh9EWmXLhcA
Status: 200
XSRF: 0EuVl1F3OGzJLWLjhPDtwCt3Sw2FMAykbEeJF5xD2F3bZQufObW8IqujUf4P81Bt
Session check: {
}
✅ LOGIN OK
--- MANUAL PORT FORWARDING ---
Service | IP | Proto | Ext Ports | Int Ports | Active
---------------------------------------------------------------------
HTTP | 192.168.1.2 | TCP/UDP | 80 | 80 | Yes
HTTPS | 192.168.1.2 | TCP/UDP | 443 | 443 | Yes
--- UPNP PORT FORWARDING ---
Service | IP | Proto | Ext Ports | Int Ports | Active
------------------------------------------------------------------------------------------------------
192.168.1.22:9308 to 9308 (UDP) | 192.168.1.22 | TCP/UDP | 9308 | 9308 | Yes
192.168.1.22:8571 to 8571 (UDP) | 192.168.1.22 | TCP/UDP | 8571 | 8571 | Yes
Cordialement,