summaryrefslogtreecommitdiffstats
path: root/wiki/src/doc/advanced_topics/lan.mdwn
blob: e3f73a7e8d4074baecf0573bf440cf203cecf21f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[[!meta title="Accessing resources on the local network"]]

The term "local network" here refers to the set of computers and devices
that can be reached directly from your computer without going through
the Internet. For example, your home router, your network printer, or
the intranet of your company are most likely on your
local network, also called LAN for Local Area Network. In technical
terms, this refers to the set of IP addresses defined in
[RFC1918](https://tools.ietf.org/html/rfc1918).

[[!toc]]

Security considerations
=======================

Accessing resources on the local network can be useful in the context of
Tails, for example to exchange documents with someone on the same local
network without going through the Internet.

But an application that can connect to both resources on the
Internet (going through Tor) and resources on the local network (without going
through Tor) can break your anonymity. For example, if a website that
you visit anonymously using <span class="application">Tor Browser</span> could also connect to other
web pages that are specific to your local network, then this information
could reveal where you are. This is why <span class="application">Tor Browser</span> is prevented from
accessing the local network in Tails.

This page describes some of the security measures built in Tails to
protect from such attacks and explains how to access some types of
resources on the local network.

<div class="caution">

<p>Connections made to the local network are not anonymous and do not go
through Tor.</p>

</div>

<a id="browser"></a>

Browsing web pages on the local network
=======================================

It is impossible to access web pages on the local network using <span class="application">Tor
Browser</span>. This prevents websites on the Internet from deducing your
location from the content of other web pages that might be specific to your local
network.

To access web pages on the local network, use the [[<span class="application">Unsafe
Browser</span>|anonymous_internet/unsafe_browser]] instead.

<a id="http"></a>

Downloading files from web pages on the local network
=====================================================

[[!inline pages="doc/anonymous_internet/unsafe_browser/chroot.inline" raw="yes" sort="age"]]

To download files from web pages on the local network, you can use the
`curl` command instead. For example, to download a document available on
the local network at <span class="filename">http://192.168.1.40/document.pdf</span>
execute the following command:

    curl http://192.168.1.40/document.pdf

<a id="ftp"></a>

Downloading files from an FTP server on the local network
=========================================================

1. Open <span class="application">Files</span>.

1. Click on <span class="guilabel">Other Locations</span> in the sidebar.

1. Enter the address of the FTP server in the
   <span class="guilabel">Connect to Server</span> text box. For
   example:

       ftp://192.168.1.25/

1. Click <span class="button">Connect</span>.