add openwrt configuration help (ipv4)
This commit is contained in:
parent
4bb8301142
commit
941d2daabf
@ -5,6 +5,7 @@
|
|||||||
<li><a href="#ddwrt" data-toggle="tab">DD-WRT</a></li>
|
<li><a href="#ddwrt" data-toggle="tab">DD-WRT</a></li>
|
||||||
<li><a href="#ddclient" data-toggle="tab">ddclient</a></li>
|
<li><a href="#ddclient" data-toggle="tab">ddclient</a></li>
|
||||||
<li><a href="#m0n0wall" data-toggle="tab">m0n0wall</a></li>
|
<li><a href="#m0n0wall" data-toggle="tab">m0n0wall</a></li>
|
||||||
|
<li><a href="#openwrt" data-toggle="tab">OpenWRT</a></li>
|
||||||
<li><a href="#pfsense" data-toggle="tab">pfSense</a></li>
|
<li><a href="#pfsense" data-toggle="tab">pfSense</a></li>
|
||||||
<li><a href="#browser" data-toggle="tab">Browser</a></li>
|
<li><a href="#browser" data-toggle="tab">Browser</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -189,6 +190,33 @@ password='{{ update_secret|default:"<your secret>" }}'
|
|||||||
<tr><td>Password</td><td>{{ update_secret|default:"<your secret>" }}</td></tr>
|
<tr><td>Password</td><td>{{ update_secret|default:"<your secret>" }}</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="tab-pane" id="openwrt">
|
||||||
|
<h4>OpenWRT ({% trans "verified with" %} 14.07-rc3 "Barrier Breaker")</h4>
|
||||||
|
<pre># 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"
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
<div class="tab-pane" id="pfsense">
|
<div class="tab-pane" id="pfsense">
|
||||||
<h4>pfSense</h4>
|
<h4>pfSense</h4>
|
||||||
<p>Homepage: <a href="https://www.pfsense.org/">https://www.pfsense.org</a></p>
|
<p>Homepage: <a href="https://www.pfsense.org/">https://www.pfsense.org</a></p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user