aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorxrs <xrs@mail36.net>2019-06-29 14:58:52 +0200
committerxrs <xrs@mail36.net>2019-06-29 14:58:52 +0200
commit02369b408116147f800ae91734e76ef26d1511c0 (patch)
tree4e9518864bf9fd0b87930a1f9885456f0a87357c /template
parent229be65913beba1d2b2be953eee3b4d814c3aa55 (diff)
parentdee40fa0abaa2729391af92b0b35e15fc3978335 (diff)
downloadwww-02369b408116147f800ae91734e76ef26d1511c0.tar.gz
www-02369b408116147f800ae91734e76ef26d1511c0.zip
Merge branch 'master' of ssh://git.gnunet.org/www
Diffstat (limited to 'template')
-rw-r--r--template/use.html.j248
1 files changed, 45 insertions, 3 deletions
diff --git a/template/use.html.j2 b/template/use.html.j2
index 9d097994..105b730a 100644
--- a/template/use.html.j2
+++ b/template/use.html.j2
@@ -14,7 +14,9 @@
14 14
15<section> 15<section>
16 <p> 16 <p>
17 This document is just a brief intro on what can be done with GNUnet. Find much more in our <a ref="https://docs.gnunet.org/">handbook / reference manual</a>, e.g. in the section <a href="https://docs.gnunet.org/#toc-Using-GNUnet-1">"using GNUnet"</a>. 17 This document is just a brief intro on what can be done with GNUnet. Find much more in our <a ref="https://docs.gnunet.org/">handbook / reference manual</a>, e.g. in the section <a href="https://docs.gnunet.org/#toc-Using-GNUnet-1">"using GNUnet"</a>.
18
19 The configuration in the handbook / reference manual is done with the UI interface gnunet-gtk.
18 </p> 20 </p>
19</section> 21</section>
20 22
@@ -237,7 +239,7 @@ See the <a href="https://docs.gnunet.org/#First-steps-_002d-Using-the-GNU-Name-S
237</section> 239</section>
238 240
239 241
240<section> 242<section id='gns_proxy'>
241 <h4>{{ _("Name resolution using GNS with a browser") }}</h4> 243 <h4>{{ _("Name resolution using GNS with a browser") }}</h4>
242 244
243 <p> 245 <p>
@@ -317,7 +319,47 @@ See the <a href="https://docs.gnunet.org/#First-steps-_002d-Using-the-GNU-Name-S
317<section> 319<section>
318 <h4>{{ _("VPN") }}</h4> 320 <h4>{{ _("VPN") }}</h4>
319 <p> 321 <p>
320 TBD, see <a href="https://docs.gnunet.org/#Configuring-the-GNUnet-VPN">chapter "Configuring the GNUnet VPN" in the handbook.</a> 322 VPN can be used to share your Internet connection (yes, this may be dangerous, just as running a Tor exit node) or to provide access to services on your host (this should be less dangerous, as long as those services are secure).
323
324 In this tutorial we concentrate on providing access to services on your host.
325
326 For documentation to share your Internet connection have a look into <a href="https://docs.gnunet.org/#Configuring-the-GNUnet-VPN">chapter "Configuring the GNUnet VPN" in the handbook.</a>
327
328 First you have to edit your gnunet.conf and add this section.
329
330 <code>
331 [exit]
332 START_ON_DEMAND = YES
333 </code>
334
335 This is necessary to start the exit daemon.
336
337 Furthermore you need to add a section for your service.
338
339 <code>
340 [http.gnunet.]
341 TCP_REDIRECTS = 80:169.254.86.1:80
342 </code>
343
344 Here a service named 'http' is configured to be accessed on a remote and local host on port 80. The IP address is the default IP address for the exit interface. If you like to change to another private IP address range you can use can change
345
346 <code>
347 IPV4ADDR = 169.254.86.1
348 </code>
349
350 in section 'exit'.
351
352 Now we have to add a GNS record to the namestore.
353
354 <code>
355 gnunet-namestore -z myself -a -e "1 d" -p -t VPN -n www -V "1 PKEY http"
356 </code>
357
358 Where myself is the name of the zone we already used <a href='#gns_proxy'>above</a>, but now we are adding a record of type VPN, and the value is a string containing three values. A boolean indicating the use of TCP or UDP (TCP in the example above), the public key of your node and the identifier of the service we used <a href='#'>above</a> ([http.gnunet.].
359
360 After we added this record we should be able to access www.myself like we did ccc.myself via the browser <a href='#gns_proxy'>above</a>.
361
362 The UI version of this Tutorial can be find in Chapter <a href='https://docs.gnunet.org/#First-steps-_002d-Using-the-GNUnet-VPN'>Using the GNUnet VPN</a> in the handbook.
321 </p> 363 </p>
322</section> 364</section>
323<section> 365<section>