[tor-commits] [community/master] More user friendly output

gus at torproject.org gus at torproject.org
Sat Sep 4 17:10:10 UTC 2021


commit 7b9a6797060d49dcce3ef70b7a7b37bbb19feb15
Author: slrslr <6596726+slrslr at users.noreply.github.com>
Date:   Tue Jun 29 10:57:35 2021 +0000

    More user friendly output
    
    In my case it outputs three IPv6 and it does not work, i had to remove /xx suffix from the address. Also i am not sure if ORPort 9001 works if this port is used by IPv4 already, personally i used "auto" instead of "9001"
    
    Update content/relay/setup/post-install/contents.lr
    
    Co-authored-by: anarcat <anarcat at users.noreply.github.com>
---
 content/relay/setup/post-install/contents.lr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/relay/setup/post-install/contents.lr b/content/relay/setup/post-install/contents.lr
index dbd00c6..0c7563e 100644
--- a/content/relay/setup/post-install/contents.lr
+++ b/content/relay/setup/post-install/contents.lr
@@ -97,7 +97,7 @@ Note: You have to explicitly specify your IPv6 address in square brackets, you c
 If you have a global IPv6 address you should be able to find it in the output of the following command:
 
 ```
-ip addr|grep inet6|grep global
+ip -6 addr | grep global | sed 's/inet6//;s#/.*##'
 ```
 
 If you are an exit relay with IPv6 connectivity, tell your tor daemon to allow exiting via IPv6 so clients can reach IPv6 destinations:



More information about the tor-commits mailing list