|
mh |
d91cc48 |
Notices for Fedora / RedHat / CentOS Users
|
|
mh |
d91cc48 |
==========================================
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
onionbalance ships with some Debian'isms, especially when it
|
|
mh |
d91cc48 |
comes to the created example torrc for the onionbalance management
|
|
mh |
d91cc48 |
tor daemon.
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
For this reasons this folder contains a sample onionbalance.torrc file
|
|
mh |
d91cc48 |
which can be used to run a dedicated tor process that onionbalance
|
|
mh |
d91cc48 |
will use.
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
Setting up onionbalance
|
|
mh |
d91cc48 |
-----------------------
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
1. create a sample configuration
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
$ onionbalance-config
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
# step through the wizard
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
2. Get your onionservices up & running with the generated configuration in config/
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
3. copy the master config and key to onionbalance's config directory and protect key and config:
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
$ cp config/master/config.yaml config/master/*.key /etc/onionbalance/
|
|
mh |
d91cc48 |
$ chown root:toranon /etc/onionbalance/*
|
|
mh |
d91cc48 |
$ chmod 0640 /etc/onionbalance/*
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
4. Copy the supplied sample config as a multi-instance config
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
$ cp /usr/share/doc/python*-onionbalance*/onionbalance.torrc.example /etc/tor/onionbalance.torrc
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
5. Start and enable the tor onionbalance service:
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
$ systemctl start tor@onionbalance
|
|
mh |
d91cc48 |
$ systemctl enable tor@onionbalance
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
6. Start and enable onionbalance
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
$ systemctl start onionbalance
|
|
mh |
d91cc48 |
$ systemctl enable onionbalance
|
|
mh |
d91cc48 |
|
|
mh |
d91cc48 |
7. Enjoy!
|