I need to know the list of all entry nodes. Is it possible to do this? I found here https://www.dan.me.uk/tornodes a list of all nodes or only exit nodes but I only need entry nodes.

  • grep -B2 "^s.*Guard" /var/lib/tor/cached-microdesc-consensus | grep "^r" | awk '{print $6 ":" $7}'
    – cacahuatl
    May 2, 2017 at 18:51

3 Answers 3


You already have them in that list, you only need to look at those with the "Guard" flag which specifies that they're entry nodes, for example:


You'll only have to extract those with the G flag.

  • Thx man, But E flag = Exit node isnt it?. May 2, 2017 at 10:51
  • According to the page it is: "NOTE: This is a FULL list including more than just exit nodes. If you only wish to block exit nodes you NEED to process the list to include only flags E and/or X!". It's probably the Gs (Guards) you want. May 2, 2017 at 11:34

https://atlas.torproject.org/#search/flag:Guard Here you can see also all nodes with the flag "Guard".


As NewUser suggested, go to https://metrics.torproject.org/rs.html#search/flag:Guard, add your filters and with a quick network inspection, you will find out that there is a JSON endpoint listing all the entries and it has filters too.

For example, to get all the running Exit nodes, we have


to get all the running Guard nodes, we have


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .