diff --git a/nsupdate/main/templates/main/includes/tabbed_router_configuration.html b/nsupdate/main/templates/main/includes/tabbed_router_configuration.html index 9540a12..e10689d 100644 --- a/nsupdate/main/templates/main/includes/tabbed_router_configuration.html +++ b/nsupdate/main/templates/main/includes/tabbed_router_configuration.html @@ -5,6 +5,7 @@
# ddns-scripts configuration /etc/config/ddns + +config service "ipv4ddns" + option enabled "1" + option interface "wan" + option use_syslog "1" + + option service_name "{{ WWW_HOST }}" + option update_url "http://[USERNAME]:[PASSWORD]@{{ WWW_IPV4_HOST }}/nic/update?hostname=[DOMAIN]&myip=[IP]" + option ip_source "web" + option ip_url "http://{{ WWW_IPV4_HOST }}/myip" + + option domain "{{ host.get_fqdn|default:"<your hostname>" }}" + option username "{{ host.get_fqdn|default:"<your hostname>" }}" + option password "{{ update_secret|default:"<your secret>" }}" + + # for https support, first install wget with ssl support and + # a current (and working) bundle of CA certificates: + # opkg install wget + # mkdir -p /etc/ssl/certs + # wget -P /etc/ssl/certs http://curl.haxx.se/ca/cacert.pem + option use_https "1" + option cacert "/etc/ssl/certs/cacert.pem" ++
Homepage: https://www.pfsense.org