Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
projects:howtos:tor [2013/05/12 20:34] – prometheus | projects:howtos:tor [2015/07/15 21:54] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 24: | Line 24: | ||
</ | </ | ||
- | Now, we install yaourt in order to fetch and install packages from the AUR. | + | Now, we install |
<sxh bash;> | <sxh bash;> | ||
Line 37: | Line 37: | ||
root@pi# yaourt -S arm | root@pi# yaourt -S arm | ||
</ | </ | ||
+ | |||
+ | In order to integrate tor into systemd, we need to write a -n own service file, which ensures fast, easy usage and the guarantuee that at every boot tor will be started along. | ||
+ | |||
+ | <sxh bash;> | ||
+ | root@pi# cd / | ||
+ | root@pi# vim tor.service | ||
+ | </ | ||
+ | |||
+ | |||
+ | <sxh bash; title: systemd service file - / | ||
+ | [Unit] | ||
+ | Description=Starting Tor Service | ||
+ | |||
+ | [Service] | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | After=multi-user.target | ||
+ | </ | ||
+ | |||
+ | <sxh bash;> | ||
+ | root@pi# vim ntp-once.service | ||
+ | </ | ||
+ | |||
+ | <sxh plain; title:> | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Configuration ===== | ||
After this, we finally attack the most important part: Tor configuration. | After this, we finally attack the most important part: Tor configuration. | ||
Line 44: | Line 73: | ||
root@pi# mv torrc torrc.original | root@pi# mv torrc torrc.original | ||
root@pi# vim torrc | root@pi# vim torrc | ||
- | ... | ||
</ | </ | ||
- | In order to integrate | + | <sxh plain; title: /etc/tor/ |
+ | ORPort 443 | ||
+ | |||
+ | Log notice | ||
+ | |||
+ | RelayBandwidthRate 100 KB # Throttle traffic to 100KB/s (800Kbps) | ||
+ | RelayBandwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps) | ||
+ | |||
+ | # | ||
+ | # | ||
+ | |||
+ | SocksPort 0 | ||
+ | BridgeRelay 1 | ||
+ | Exitpolicy reject *:* | ||
+ | </ | ||
+ | |||
+ | ===== Up & Run! ===== | ||
+ | |||
+ | Either type: | ||
<sxh bash;> | <sxh bash;> | ||
- | root@pi# | + | root@pi# |
- | root@pi# vim tor.service | + | |
- | ... | + | |
- | root@pi# vim ntp-once.service | + | |
- | ... | + | |
</ | </ | ||
+ | |||
+ | or simply boot up your device. | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | ===== Conclusion ===== |