aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorxrs <xrs@mail36.net>2019-06-29 15:21:13 +0200
committerxrs <xrs@mail36.net>2019-06-29 15:21:13 +0200
commit197a4fdfa12b1c5faed79a0f42d319a0501b1596 (patch)
treeef733a4f71d5fd5e1b7110e08a445ca53aa7db34 /template
parent79eca93e393522626e7595bda3882e9085094a9e (diff)
parent459e23e265ef535f1edae6e852df0ed03ca05393 (diff)
downloadwww-197a4fdfa12b1c5faed79a0f42d319a0501b1596.tar.gz
www-197a4fdfa12b1c5faed79a0f42d319a0501b1596.zip
Merge branch 'master' of ssh://git.gnunet.org/www
Diffstat (limited to 'template')
-rw-r--r--template/use.html.j253
1 files changed, 35 insertions, 18 deletions
diff --git a/template/use.html.j2 b/template/use.html.j2
index 105b730a..0a068682 100644
--- a/template/use.html.j2
+++ b/template/use.html.j2
@@ -147,9 +147,11 @@
147 </p> 147 </p>
148 <p> 148 <p>
149 <code> 149 <code>
150 $LD_LIBRARY_PATH=/path/to/gnunetlibs ./groupchat --config=/path/to/gnunet.conf --server=YV6G9EP9K3X41BM3FJ3D29BDZR6358XNZ6KDZVV7DFW729YB0KCG --port=welcome --nick=YOURNICK 150 $LD_LIBRARY_PATH=/path/to/gnunetlibs ./groupchat --config=/path/to/gnunet.conf --server=88RXABKJNMT426FY81N2DXN0M2X37SW5Q1NR005YPDZ1Q7A22CHG --port=t3ss --nick=YOURNICK
151 </code> 151 </code>
152 </p>
152 <p> 153 <p>
154 The peer and port in this example should work in real, because that peer is almost online and running groupchat on that port.
153 <p> 155 <p>
154 You should now see something like this: 156 You should now see something like this:
155 </p> 157 </p>
@@ -320,45 +322,60 @@ See the <a href="https://docs.gnunet.org/#First-steps-_002d-Using-the-GNU-Name-S
320 <h4>{{ _("VPN") }}</h4> 322 <h4>{{ _("VPN") }}</h4>
321 <p> 323 <p>
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). 324 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 325 </p>
326 <p>
324 In this tutorial we concentrate on providing access to services on your host. 327 In this tutorial we concentrate on providing access to services on your host.
325 328 </p>
329 <p>
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> 330 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 331 </p>
332 <p>
328 First you have to edit your gnunet.conf and add this section. 333 First you have to edit your gnunet.conf and add this section.
329 334 </p>
335 <p>
330 <code> 336 <code>
331 [exit] 337 [exit]</br>
332 START_ON_DEMAND = YES 338 START_ON_DEMAND = YES
333 </code> 339 </code>
334 340 </p>
341 <p>
335 This is necessary to start the exit daemon. 342 This is necessary to start the exit daemon.
336 343 </p>
344 <p>
337 Furthermore you need to add a section for your service. 345 Furthermore you need to add a section for your service.
338 346 </p>
347 <p>
339 <code> 348 <code>
340 [http.gnunet.] 349 [http.gnunet.]</br>
341 TCP_REDIRECTS = 80:169.254.86.1:80 350 TCP_REDIRECTS = 80:169.254.86.1:80
342 </code> 351 </code>
343 352 </p>
353 <p>
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 354 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 355 </p>
356 <p>
346 <code> 357 <code>
347 IPV4ADDR = 169.254.86.1 358 IPV4ADDR = 169.254.86.1
348 </code> 359 </code>
349 360 </p>
361 <p>
350 in section 'exit'. 362 in section 'exit'.
351 363 </p>
364 <p>
352 Now we have to add a GNS record to the namestore. 365 Now we have to add a GNS record to the namestore.
353 366 </p>
367 <p>
354 <code> 368 <code>
355 gnunet-namestore -z myself -a -e "1 d" -p -t VPN -n www -V "1 PKEY http" 369 gnunet-namestore -z myself -a -e "1 d" -p -t VPN -n www -V "1 PKEY http"
356 </code> 370 </code>
357 371 </p>
372 <p>
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.]. 373 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 374 </p>
375 <p>
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>. 376 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 377 </p>
378 <p>
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. 379 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.
363 </p> 380 </p>
364</section> 381</section>