From 10d3561353dc5a782b3eb94e8d287a17ad56a324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20Akg=C3=BCn?= Date: Thu, 16 Jan 2025 11:02:25 +0300 Subject: [PATCH] Add UPnP example in configuration file This commit demonstrates a simple way to obtain the IP address using UPnP in the ddclient configuration file. --- ddclient.conf.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ddclient.conf.in b/ddclient.conf.in index 878cab3..103b1fa 100644 --- a/ddclient.conf.in +++ b/ddclient.conf.in @@ -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) #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) ## by default, checkip.dyndns.org is used if you use the dyndns protocol. ## Using use=web is enough to get it working.