mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
os-ddclient / update ddclient.conf interface template
This commit is contained in:
committed by
Franco Fichtner
parent
ca764101ad
commit
ff873cc2f1
@@ -24,9 +24,9 @@ ssl=yes
|
||||
{% for account in accounts %}
|
||||
{% if account.checkip == 'if' %}
|
||||
{% if not helpers.empty('OPNsense.DynDNS.general.allowipv6') %}
|
||||
usev6=ifv6, \
|
||||
usev6=ifv6, ifv6={{physical_interface(account.interface)}}, \
|
||||
{% endif %}
|
||||
usev4=ifv4, if={{physical_interface(account.interface)}}, \
|
||||
usev4=ifv4, ifv4={{physical_interface(account.interface)}}, \
|
||||
{% elif account.checkip.startswith('web_') %}
|
||||
{% if account.interface %}
|
||||
use=cmd, cmd="/usr/local/opnsense/scripts/ddclient/checkip -i {{physical_interface(account.interface)}} -t {{account.force_ssl}} -s {{account.checkip[4:]}} --timeout {{account.checkip_timeout|default('10')}}",
|
||||
|
||||
Reference in New Issue
Block a user