-
-
Notifications
You must be signed in to change notification settings - Fork 6
Tor Relays
Lucas Holt edited this page Aug 22, 2022
·
2 revisions
Based on documentation from the Tor BSD Diversity Project https://torbsd.github.io/fbsd-relays.html
Install Install from packages mport install tor
Install from mports cd /usr/mports/security/tor && make install clean
Post install steps create log directories
% cp /usr/local/etc/tor/torrc.sample /usr/local/etc/tor/torrc
Setup log directories
% touch /var/log/tor && chown _tor:_tor /var/log/tor && chmod 600 /var/log/tor
Enable service
% echo “tor_enable=YES” >>/etc/rc.conf
Enable random ip
% sysctl net.inet.ip.random_id=1
% echo “net.inet.ip.random_id=1” >>/etc/sysctl.conf
Start Tor
service tor start