how to configure your router
This commit is contained in:
parent
39605becdb
commit
741690baca
@ -2,12 +2,20 @@
|
||||
{% load bootstrap %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="row">
|
||||
<h3>Host Secret Generated <small><a href="{% url 'overview' %}"><i class="icon-double-angle-left"></i> back to overview</a></small></h3>
|
||||
<p>New secret generated for you. We store it hashed, so save it now, or you have to generate a new one again.</p>
|
||||
<p>secret: <b>{{ update_secret }}</b></p>
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<div class="well">
|
||||
<h3>Host Secret Generated <small><br>
|
||||
<a href="{% url 'overview' %}"><i class="icon-double-angle-left"></i> back to overview</a></small></h3>
|
||||
<p>New secret generated for you. We store it hashed, so save it now, or you have to generate a new one again. Everytime you visit this page a new secret will be generated and the old one becomes invalid.</p>
|
||||
<p>Secret: <b>{{ update_secret }}</b></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-lg-8">
|
||||
<div class="well">
|
||||
<h3>How to configure your router?</h3>
|
||||
{% include "main/includes/tabbed_router_configuration.html" with host=object %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -0,0 +1,61 @@
|
||||
<ul class="nav nav-tabs" id="myTab">
|
||||
<li class="active"><a href="#generic" data-toggle="tab">Generic</a></li>
|
||||
<li><a href="#avm" data-toggle="tab">AVM Fritz!Box</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="generic">
|
||||
<h4>Generic configuration hints</h4>
|
||||
<hr>
|
||||
Your router/script needs to call the following url for IPv4-Updates:
|
||||
<div class="well well-sm">
|
||||
http://{{ host.get_fqdn|default:"<your fqdn>" }}:{{ update_secret|default:"<your secret>" }}@nsupdate.info/nic/update
|
||||
</div>
|
||||
for IPv6-Updates:
|
||||
<div class="well well-sm">
|
||||
http://{{ host.get_fqdn|default:"<your fqdn>" }}:{{ update_secret|default:"<your secret>" }}@ipv6.nsupdate.info/nic/update
|
||||
</div>
|
||||
The IPs will be determined automatically.
|
||||
<hr>
|
||||
Briefly your router/script has to do the following steps:
|
||||
<ul>
|
||||
<li>visit http://(ipv6.)nsupdate.info/nic/update</li>
|
||||
<li>Do HTTP BasicAuth with:
|
||||
<ul>
|
||||
<li>Username: {{ host.get_fqdn|default:"<your fqdn>" }}</li>
|
||||
<li>Password: {{ update_secret|default:"<your secret>" }}</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>The response will look like this:
|
||||
<ul>
|
||||
<li>"good <your fqdn>" (new IP accepted)</li>
|
||||
<li>"nochg <your fqdn>" (IP accepted, but did not change since last update)</li>
|
||||
<li>redirect (Code 401) (Incorrect or no authentication data)</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tab-pane" id="avm">
|
||||
<h4>Fritz!Box 7390 (and maybe others):</h4>
|
||||
<hr>
|
||||
<h5>Go to:</h5>
|
||||
<div class="well well-sm">
|
||||
Internet <i class="icon-long-arrow-right"></i>
|
||||
Permit Access <i class="icon-long-arrow-right"></i>
|
||||
Dynamic DNS
|
||||
</div>
|
||||
<h5>Enter the following data</h5>
|
||||
<table class="table">
|
||||
<thead><th>Setting</th><th>Value</th></thead>
|
||||
<tr><td>Dynamic DNS provider</td><td>Custom</td></tr>
|
||||
<tr><td>Update-URL</td><td>http://nsupdate.info/nic/update</td></tr>
|
||||
<tr><td>Domain Name</td><td>{{ host.get_fqdn|default:"<your fqdn>" }}</td></tr>
|
||||
<tr><td>User name</td><td>{{ host.get_fqdn|default:"<your fqdn>" }}</td></tr>
|
||||
<tr><td>Password</td><td>{{ update_secret|default:"<your secret>" }}</td></tr>
|
||||
</table>
|
||||
<h5>For IPv6</h5>
|
||||
Set Update-URL to the following (two links, separated by space)
|
||||
<div class="well well-sm">
|
||||
http://nsupdate.info/nic/update http://ipv6.nsupdate.info/nic/update
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
x
Reference in New Issue
Block a user