Next generation onion addresses
This commit is contained in:
parent
00e04a46f4
commit
25b900abb1
|
@ -124,7 +124,7 @@ function add_onion_service {
|
||||||
fi
|
fi
|
||||||
if ! grep -q "hidden_service_${onion_service_name}" /etc/tor/torrc; then
|
if ! grep -q "hidden_service_${onion_service_name}" /etc/tor/torrc; then
|
||||||
echo "HiddenServiceDir ${HIDDEN_SERVICE_PATH}${onion_service_name}/" >> /etc/tor/torrc
|
echo "HiddenServiceDir ${HIDDEN_SERVICE_PATH}${onion_service_name}/" >> /etc/tor/torrc
|
||||||
#echo 'HiddenServiceVersion 3' >> /etc/tor/torrc
|
echo 'HiddenServiceVersion 3' >> /etc/tor/torrc
|
||||||
echo "HiddenServicePort ${onion_service_port_from} 127.0.0.1:${onion_service_port_to}" >> /etc/tor/torrc
|
echo "HiddenServicePort ${onion_service_port_from} 127.0.0.1:${onion_service_port_to}" >> /etc/tor/torrc
|
||||||
if [ ${#onion_stealth_name} -gt 0 ]; then
|
if [ ${#onion_stealth_name} -gt 0 ]; then
|
||||||
echo "HiddenServiceAuthorizeClient stealth ${onion_stealth_name}" >> /etc/tor/torrc
|
echo "HiddenServiceAuthorizeClient stealth ${onion_stealth_name}" >> /etc/tor/torrc
|
||||||
|
|
Loading…
Reference in New Issue