diff options
Diffstat (limited to 'template/use.html.j2')
-rw-r--r-- | template/use.html.j2 | 48 |
1 files changed, 45 insertions, 3 deletions
diff --git a/template/use.html.j2 b/template/use.html.j2 index 41d2a263..f11d41f0 100644 --- a/template/use.html.j2 +++ b/template/use.html.j2 | |||
@@ -6,7 +6,9 @@ | |||
6 | <h2>{{ _("How to use GNUnet - in a nutshell") }}</h2> | 6 | <h2>{{ _("How to use GNUnet - in a nutshell") }}</h2> |
7 | </header> | 7 | </header> |
8 | <p> | 8 | <p> |
9 | 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>. | 9 | 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>. |
10 | |||
11 | The configuration in the handbook / reference manual is done with the UI interface gnunet-gtk. | ||
10 | </p> | 12 | </p> |
11 | 13 | ||
12 | <section> | 14 | <section> |
@@ -228,7 +230,7 @@ See the <a href="https://docs.gnunet.org/#First-steps-_002d-Using-the-GNU-Name-S | |||
228 | </section> | 230 | </section> |
229 | 231 | ||
230 | 232 | ||
231 | <section> | 233 | <section id='gns_proxy'> |
232 | <h4>{{ _("Name resolution using GNS with a browser") }}</h4> | 234 | <h4>{{ _("Name resolution using GNS with a browser") }}</h4> |
233 | 235 | ||
234 | <p> | 236 | <p> |
@@ -308,7 +310,47 @@ See the <a href="https://docs.gnunet.org/#First-steps-_002d-Using-the-GNU-Name-S | |||
308 | <section> | 310 | <section> |
309 | <h4>{{ _("VPN") }}</h4> | 311 | <h4>{{ _("VPN") }}</h4> |
310 | <p> | 312 | <p> |
311 | TBD, see <a href="https://docs.gnunet.org/#Configuring-the-GNUnet-VPN">chapter "Configuring the GNUnet VPN" in the handbook.</a> | 313 | 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). |
314 | |||
315 | In this tutorial we concentrate on providing access to services on your host. | ||
316 | |||
317 | 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> | ||
318 | |||
319 | First you have to edit your gnunet.conf and add this section. | ||
320 | |||
321 | <code> | ||
322 | [exit] | ||
323 | START_ON_DEMAND = YES | ||
324 | </code> | ||
325 | |||
326 | This is necessary to start the exit daemon. | ||
327 | |||
328 | Furthermore you need to add a section for your service. | ||
329 | |||
330 | <code> | ||
331 | [http.gnunet.] | ||
332 | TCP_REDIRECTS = 80:169.254.86.1:80 | ||
333 | </code> | ||
334 | |||
335 | 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 | ||
336 | |||
337 | <code> | ||
338 | IPV4ADDR = 169.254.86.1 | ||
339 | </code> | ||
340 | |||
341 | in section 'exit'. | ||
342 | |||
343 | Now we have to add a GNS record to the namestore. | ||
344 | |||
345 | <code> | ||
346 | gnunet-namestore -z myself -a -e "1 d" -p -t VPN -n www -V "1 PKEY http" | ||
347 | </code> | ||
348 | |||
349 | 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.]. | ||
350 | |||
351 | 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>. | ||
352 | |||
353 | 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. | ||
312 | </p> | 354 | </p> |
313 | </section> | 355 | </section> |
314 | <section> | 356 | <section> |