Niko_is_666
Active member
One of my friends alerted me to a possible increase in the numbers of Israeli nodes in the Tor network. So far I believe these Israeli nodes don't have the guard flag[not yet guard nodes], they seem to be relaying as middle nodes. So you do not have to worry, even if you have passed through a node that is in Israel, no one can intercept your data passing through, and no one can know your whereabouts, nothing to panic.
I searched the forums to find out that no one has mentioned anything about excluding tor nodes. So I decided to create this short thread/tutorial to alert everyone and also to help inexperienced users, for them to exclude nodes situated in Israel or any country[It's very easy]. I will keep bumping this thread for a few days so that every member who uses Tor can see this. I have also listed the country codes.
We only have one file to work with, and that is the "torrc" file. So locate it in your respective OS.
Open it and add the following:
you can use commas without space to add more countries to the list, example:
In the curly bracket one can also add hash-id's of specific nodes to exclude them.
But I think it works fine, one can test it with well known countries like US or Germany, if none of them appear in the circuit, it should indicate its working well.
Now for novice or windows users:
I searched the forums to find out that no one has mentioned anything about excluding tor nodes. So I decided to create this short thread/tutorial to alert everyone and also to help inexperienced users, for them to exclude nodes situated in Israel or any country[It's very easy]. I will keep bumping this thread for a few days so that every member who uses Tor can see this. I have also listed the country codes.
We only have one file to work with, and that is the "torrc" file. So locate it in your respective OS.
Open it and add the following:
ExcludeNodes {il} StrictNodes 1
you can use commas without space to add more countries to the list, example:
ExcludeNodes {il},{ru},{us} StrictNodes 1
In the curly bracket one can also add hash-id's of specific nodes to exclude them.
ExcludeNodes
tells Tor to exclude the listed nodes in any place, and the whole circuit[Guard/Middle/Exit]. Though I have heard[most likly an outdated info], that it rather tells Tor to do it's best to avoid the listed nodes, they say there's no strict enforcement/guarantee. For me personally it works well, but it's always better to be more cautious and keep an eye on the connection, especially the guard node, we don't want a guard node that is in Israel, that can provide the source IP, your ISP. This can make tor over vpn essential for some users who are unable to avoid specific guard nodes.But I think it works fine, one can test it with well known countries like US or Germany, if none of them appear in the circuit, it should indicate its working well.
Now for novice or windows users:
- You have to locate your Tor Browser's directory[where you will see the firefox.exe]
- Once you have located your Tor's directory, open it and navigate to the following: \TorBrowser\Data\Tor
the folder should look something like this:
- Open the torrc file with notepad.
- Now the Torrc file should look something like this:
# This file was generated by Tor; if you edit it, comments will not be preserved # The old torrc file was renamed to torrc.orig.1, and Tor will ignore it ClientOnionAuthDir C:\Users\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor\onion-auth DataDirectory C:\Users\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor GeoIPFile C:\Users\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor\geoip GeoIPv6File C:\Users\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor\geoip6
- Add the following in the next line:
ExcludeNodes {il} StrictNodes 1
it should all look like this afterwards:
# This file was generated by Tor; if you edit it, comments will not be preserved # The old torrc file was renamed to torrc.orig.1, and Tor will ignore it ClientOnionAuthDir C:\Users\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor\onion-auth DataDirectory C:\Users\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor GeoIPFile C:\Users\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor\geoip GeoIPv6File C:\Users\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor\geoip6 ExcludeNodes {il} StrictNodes 1
- Save it and exit. That's it.
List of country codes:
Country Code ASCENSION ISLAND {ac} AFGHANISTAN {af} ALAND {ax} ALBANIA {al} ALGERIA {dz} ANDORRA {ad} ANGOLA {ao} ANGUILLA {ai} ANTARCTICA {aq} ANTIGUA AND BARBUDA {ag} ARGENTINA REPUBLIC {ar} ARMENIA {am} ARUBA {aw} AUSTRALIA {au} AUSTRIA {at} AZERBAIJAN {az} BAHAMAS {bs} BAHRAIN {bh} BANGLADESH {bd} BARBADOS {bb} BELARUS {by} BELGIUM {be} BELIZE {bz} BENIN {bj} BERMUDA {bm} BHUTAN {bt} BOLIVIA {bo} BOSNIA AND HERZEGOVINA {ba} BOTSWANA {bw} BOUVET ISLAND {bv} BRAZIL {br} BRITISH INDIAN OCEAN TERR {io} BRITISH VIRGIN ISLANDS {vg} BRUNEI DARUSSALAM {bn} BULGARIA {bg} BURKINA FASO {bf} BURUNDI {bi} CAMBODIA {kh} CAMEROON {cm} CANADA {ca} CAPE VERDE {cv} CAYMAN ISLANDS {ky} CENTRAL AFRICAN REPUBLIC {cf} CHAD {td} CHILE {cl} PEOPLE'S REPUBLIC OF CHINA {cn} CHRISTMAS ISLANDS {cx} COCOS ISLANDS {cc} COLOMBIA {co} COMORAS {km} CONGO {cg} CONGO (DEMOCRATIC REPUBLIC) {cd} COOK ISLANDS {ck} COSTA RICA {cr} COTE D IVOIRE {ci} CROATIA {hr} CUBA {cu} CYPRUS {cy} CZECH REPUBLIC {cz} DENMARK {dk} DJIBOUTI {dj} DOMINICA {dm} DOMINICAN REPUBLIC {do} EAST TIMOR {tp} ECUADOR {ec} EGYPT {eg} EL SALVADOR {sv} EQUATORIAL GUINEA {gq} ESTONIA {ee} ETHIOPIA {et} FALKLAND ISLANDS {fk} FAROE ISLANDS {fo} FIJI {fj} FINLAND {fi} FRANCE {fr} FRANCE METROPOLITAN {fx} FRENCH GUIANA {gf} FRENCH POLYNESIA {pf} FRENCH SOUTHERN TERRITORIES {tf} GABON {ga} GAMBIA {gm} GEORGIA {ge} GERMANY {de} GHANA {gh} GIBRALTER {gi} GREECE {gr} GREENLAND {gl} GRENADA {gd} GUADELOUPE {gp} GUAM {gu} GUATEMALA {gt} GUINEA {gn} GUINEA-BISSAU {gw} GUYANA {gy} HAITI {ht} HEARD & MCDONALD ISLAND {hm} HONDURAS {hn} HONG KONG {hk} HUNGARY {hu} ICELAND {is} INDIA {in} INDONESIA {id} IRAN, ISLAMIC REPUBLIC OF {ir} IRAQ {iq} IRELAND {ie} ISLE OF MAN {im} ISRAEL {il} ITALY {it} JAMAICA {jm} JAPAN {jp} JORDAN {jo} KAZAKHSTAN {kz} KENYA {ke} KIRIBATI {ki} KOREA, DEM. PEOPLES REP OF {kp} KOREA, REPUBLIC OF {kr} KUWAIT {kw} KYRGYZSTAN {kg} LAO PEOPLE'S DEM. REPUBLIC {la} LATVIA {lv} LEBANON {lb} LESOTHO {ls} LIBERIA {lr} LIBYAN ARAB JAMAHIRIYA {ly} LIECHTENSTEIN {li} LITHUANIA {lt} LUXEMBOURG {lu} MACAO {mo} MACEDONIA {mk} MADAGASCAR {mg} MALAWI {mw} MALAYSIA {my} MALDIVES {mv} MALI {ml} MALTA {mt} MARSHALL ISLANDS {mh} MARTINIQUE {mq} MAURITANIA {mr} MAURITIUS {mu} MAYOTTE {yt} MEXICO {mx} MICRONESIA {fm} MOLDAVA REPUBLIC OF {md} MONACO {mc} MONGOLIA {mn} MONTENEGRO {me} MONTSERRAT {ms} MOROCCO {ma} MOZAMBIQUE {mz} MYANMAR {mm} NAMIBIA {na} NAURU {nr} NEPAL {np} NETHERLANDS ANTILLES {an} NETHERLANDS, THE {nl} NEW CALEDONIA {nc} NEW ZEALAND {nz} NICARAGUA {ni} NIGER {ne} NIGERIA {ng} NIUE {nu} NORFOLK ISLAND {nf} NORTHERN MARIANA ISLANDS {mp} NORWAY {no} OMAN {om} PAKISTAN {pk} PALAU {pw} PALESTINE {ps} PANAMA {pa} PAPUA NEW GUINEA {pg} PARAGUAY {py} PERU {pe} PHILIPPINES (REPUBLIC OF THE) {ph} PITCAIRN {pn} POLAND {pl} PORTUGAL {pt} PUERTO RICO {pr} QATAR {qa} REUNION {re} ROMANIA {ro} RUSSIAN FEDERATION {ru} RWANDA {rw} SAMOA {ws} SAN MARINO {sm} SAO TOME/PRINCIPE {st} SAUDI ARABIA {sa} SCOTLAND {uk} SENEGAL {sn} SERBIA {rs} SEYCHELLES {sc} SIERRA LEONE {sl} SINGAPORE {sg} SLOVAKIA {sk} SLOVENIA {si} SOLOMON ISLANDS {sb} SOMALIA {so} SOMOA,GILBERT,ELLICE ISLANDS {as} SOUTH AFRICA {za} SOUTH GEORGIA, SOUTH SANDWICH ISLANDS {gs} SOVIET UNION {su} SPAIN {es} SRI LANKA {lk} ST. HELENA {sh} ST. KITTS AND NEVIS {kn} ST. LUCIA {lc} ST. PIERRE AND MIQUELON {pm} ST. VINCENT & THE GRENADINES {vc} SUDAN {sd} SURINAME {sr} SVALBARD AND JAN MAYEN {sj} SWAZILAND {sz} SWEDEN {se} SWITZERLAND {ch} SYRIAN ARAB REPUBLIC {sy} TAIWAN {tw} TAJIKISTAN {tj} TANZANIA, UNITED REPUBLIC OF {tz} THAILAND {th} TOGO {tg} TOKELAU {tk} TONGA {to} TRINIDAD AND TOBAGO {tt} TUNISIA {tn} TURKEY {tr} TURKMENISTAN {tm} TURKS AND CALCOS ISLANDS {tc} TUVALU {tv} UGANDA {ug} UKRAINE {ua} UNITED ARAB EMIRATES {ae} UNITED KINGDOM (no new registrations) {gb} UNITED KINGDOM {uk} UNITED STATES {us} UNITED STATES MINOR OUTL.IS. {um} URUGUAY {uy} UZBEKISTAN {uz} VANUATU {vu} VATICAN CITY STATE {va} VENEZUELA {ve} VIET NAM {vn} VIRGIN ISLANDS (USA) {vi} WALLIS AND FUTUNA ISLANDS {wf} WESTERN SAHARA {eh} YEMEN {ye} ZAMBIA {zm} ZIMBABWE {zw}