Add UPnP example in configuration file

This commit demonstrates a simple way to obtain the
IP address using UPnP in the ddclient configuration file.
This commit is contained in:
Eren Akgün 2025-01-16 11:02:25 +03:00
parent 803f77404d
commit 10d3561353
No known key found for this signature in database
GPG key ID: A484C091E8BED785

View file

@ -53,6 +53,10 @@ pid=@runstatedir@/ddclient.pid # record PID in file.
## To obtain an IP address from FW status page (using fw-login, fw-password) ## To obtain an IP address from FW status page (using fw-login, fw-password)
#use=fw, fw=192.168.1.254/status.htm, fw-skip='IP Address' # found after IP Address #use=fw, fw=192.168.1.254/status.htm, fw-skip='IP Address' # found after IP Address
# #
## To obtain an IP address via UPnP from router
## Requires miniupnpc to be installed on the system.
#use=cmd, cmd=external-ip
#
## To obtain an IP address from Web status page (using the proxy if defined) ## To obtain an IP address from Web status page (using the proxy if defined)
## by default, checkip.dyndns.org is used if you use the dyndns protocol. ## by default, checkip.dyndns.org is used if you use the dyndns protocol.
## Using use=web is enough to get it working. ## Using use=web is enough to get it working.