Skip to content

FritzBox UPNP Script (Reconnect, Public IP, etc.)

Notifications You must be signed in to change notification settings

Trigus42/FritzBox-UPNP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

FRITZ!Box - UPNP Tool

This script uses UPnP to help you manage your FritzBox.

Option Description Value
--host Overwrite default "fritz.box" IP or Hostname
--port Overwrite default "49000" Custom UPNP Port
--renew Reconnect None
--getip Returns the public IP None
--status Get connection status as XML None
--debug Prints hostname, IP, port and response message None

Example command line usage:

$ python3 main.py --getip --renew --getip --host 192.168.178.1
188.158.211.56
Reconnected
86.44.13.31

Example usage with cron:

30 04 * * * /usr/bin/python3 /root/main.py --renew --host 192.168.178.1

About

FritzBox UPNP Script (Reconnect, Public IP, etc.)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages