From d201b03fe4d21becc02a61cd93ba70815cc1dab5 Mon Sep 17 00:00:00 2001 From: pandabadger <33740825+pandabadger@users.noreply.github.com> Date: Thu, 1 Sep 2022 22:49:17 +0100 Subject: [PATCH] Add IPv4Only to disableIPV6 --- install-tornode.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-tornode.sh b/install-tornode.sh index 4ed6975..ddb9192 100644 --- a/install-tornode.sh +++ b/install-tornode.sh @@ -436,6 +436,7 @@ fi function disableIPV6() { sudo sed -i -e '/INSERT_IPV6_ADDRESS/d' /etc/tor/torrc sudo sed -i -e 's/IPv6Exit 1/IPv6Exit 0/' /etc/tor/torrc + sudo sed -i -e 's/ORPort 9001/ORPort 9001 IPv4Only/' /etc/tor/torrc sudo sed -i -e '/\[..\]/d' /etc/tor/torrc echoError "IPv6 support has been disabled!" echo "If you want to enable it manually find out your IPv6 address and add this line to your /etc/tor/torrc" @@ -598,4 +599,4 @@ echoInfo "👉 Join us in the Rocketeer discord in the #onion-dao channel: https # 🔥 add the current user to the tor user group so that we can run Nyx without sudo # this is a known Nyx annoyance, see https://github.com/torproject/nyx/issues/24 sudo adduser $USER debian-tor -exec sudo su -l $USER # make sure relogin is not needed, see https://superuser.com/a/609141 \ No newline at end of file +exec sudo su -l $USER # make sure relogin is not needed, see https://superuser.com/a/609141