Adding sample-get-ip-from-fritzbox
Example config showing how to retrieve IP from fritzbox via UPnP using ddclients cmd option. The script has been provided by @Rusk85 in pull request #45
This commit is contained in:
parent
40409911b3
commit
e33aa2fa96
1 changed files with 8 additions and 0 deletions
8
get-ip-from-fritzbox → sample-get-ip-from-fritzbox
Normal file → Executable file
8
get-ip-from-fritzbox → sample-get-ip-from-fritzbox
Normal file → Executable file
|
@ -1,4 +1,12 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Scirpt to fetch IP from fritzbox
|
||||
#
|
||||
# Contributed by @Rusk85 in request #45
|
||||
# Script can be used in the configuration by adding
|
||||
#
|
||||
# use=cmd, cmd=/etc/ddclient/get-ip-from-fritzbox
|
||||
#
|
||||
# All credits for this one liner go to the author of this blog:
|
||||
# http://scytale.name/blog/2010/01/fritzbox-wan-ip
|
||||
# As the author explains its not required to tamper with the provided IP for the FritzBox
|
Loading…
Reference in a new issue