From 1c7e71ee52caaf00170264670253617dc2319579 Mon Sep 17 00:00:00 2001 From: david-sarah Date: Wed, 16 Jun 2010 17:45:13 -0700 Subject: [PATCH] Remove firewall section from running.html and say to read configuration.txt instead. --- docs/configuration.txt | 6 ++++++ docs/running.html | 32 ++------------------------------ 2 files changed, 8 insertions(+), 30 deletions(-) diff --git a/docs/configuration.txt b/docs/configuration.txt index 1ab7ebf6..5428252a 100644 --- a/docs/configuration.txt +++ b/docs/configuration.txt @@ -38,6 +38,12 @@ and IP addresses are used, when connections are timed out, etc. This configuration is independent of the services that the node is offering: the same controls are used for client and introducer nodes. +If your node is behind a firewall or NAT device and you want other clients to +connect to it, you'll need to open a port in the firewall or NAT, and specify +that port number in the tub.port option. If behind a NAT, you *may* need to +set the tub.location option described below. + + [node] nickname = (UTF-8 string, optional) diff --git a/docs/running.html b/docs/running.html index a274c0b8..0e6b7b78 100644 --- a/docs/running.html +++ b/docs/running.html @@ -61,38 +61,10 @@

See configuration.txt for more - details about how to configure Tahoe-LAFS.

+ details about how to configure Tahoe-LAFS, including how to get other + clients to connect to your node if it is behind a firewall or NAT device. -

A note about firewalls

- -

If your node is behind a firewall or NAT device and you want other - clients to connect to it then you'll need to open a port in your - firewall. To do that you'll need to know which port Tahoe-LAFS is listening on. - If you haven't already set a port number, it will pick a random port to - listen on and remember this port number in the - ~/.tahoe/client.port file. To tell Tahoe-LAFS to listen to a fixed - port, open the ~/.tahoe/tahoe.cfg file in your favourite text - editor and changing the tub.port line to something like the - following:

- -
tub.port = 8098
- -

This tells Tahoe-LAFS to always listen on port 8098 of your - computer. The next issue is that your computer may be behind a - NATing router and isn't directly connected to the internet but - goes through a router to get out. If that's the case then you'll - need to set the tub.location option so that Tahoe-LAFS - tells the introducer where you're really listening:

- -
tub.location = myserver.mydomain.org:8098
- -

or probably more likely

- -
tub.location = 123.456.789.012:8098
- -

The configuration.txt file contains more details.

-

A note about small grids

By default, Tahoe-LAFS ships with the configuration parameter -- 2.45.2