Support #742
Install a TOR Relay on FreeBSD
Status:
Closed
Priority:
Normal
Assignee:
Category:
The Onion Router (TOR)
Target version:
Description
This is a simple guide for getting TOR setup as a relay on FreeBSD 10.2.
Prepare the Environment¶
- Make sure the system is up to date:
pkg update && pkg upgrade
Install TOR¶
- Install TOR:
pkg install tor
- Tor users are strongly advised to prevent traffic analysis that exploits sequential IP IDs by setting:
sysctl net.inet.ip.random_id=1
- Reboot for it to take effect:
reboot
- Reboot for it to take effect:
- Edit the TOR config file:
vi /usr/local/etc/tor/torrc
- And add/modify the following lines:
ORPort 9001 Nickname ExampleNode RelayBandwidthRate 1024 KB RelayBandwidthBurst 1024 KB ContactInfo Bob User <bob@example.com> ExitPolicy reject *:*
- And add/modify the following lines:
- Start and enable TOR at boot:
echo 'tor_enable="YES"' >> /etc/rc.conf service tor start