forked from andonome/lk
initial commit
This commit is contained in:
22
networking/tor
Normal file
22
networking/tor
Normal file
@@ -0,0 +1,22 @@
|
||||
# I've added lines to /etc/network/interfaces. They might need to all be remove (1st line is original).
|
||||
|
||||
#I've added lines to /etc/tor/torrc. The documentation on torproject.org states this should be in /usr/local/etc/tor/torrc, but I don't have that file.
|
||||
|
||||
# Tor must be enabled with
|
||||
|
||||
sysrc tor_enable=YES
|
||||
service tor start
|
||||
|
||||
# And it's recommended to use "random id" by adding
|
||||
echo "net.inet.ip.random_id=1" >> /etc/sysctl.conf
|
||||
sysctl net.inet.ip.random_id=1
|
||||
|
||||
# Opening firewall ports 9030 and 9001
|
||||
# They seem to be already open
|
||||
|
||||
# Checking CPU usage. It's around 0.30 average.
|
||||
# Checking logs
|
||||
sudo less /var/log/tor/log
|
||||
# Seems like it's working.
|
||||
|
||||
|
Reference in New Issue
Block a user