Createirƙiri kumburin TOR tare da Rasberi Pi

Tor

Tabbas a cikin lokuta fiye da ɗaya kun ji labarin Tor tunda ita ce hanya madaidaiciya don kewaya da bincika Yanar Gizo mai zurfi. Tare da wannan software, ana juyar da zirga-zirgar intanet ta hanyar sadarwar sabobin ko nodes ɗin da masu sa kai suka ƙirƙira kuma aka rarraba a duk duniya ta yadda hanyar da ba a sani ba ta mai amfani da kansa ta tabbata yayin da ɓoyayyen wurin yake tun, godiya Wannan hanyar ta sa yana da matukar wahalar bin diddigin mai amfani a duk faɗin hanyar sadarwar.

Idan kai mai son TOR ne kuma kana son taimakawa sabis ɗin ya zama babba kuma babba, a yau ina so in nuna maka yadda zaka tsara Rasberi Pi don aiki azaman kumburi a cikin hanyar sadarwar. Idan kuna da sha’awa, ku gaya muku cewa, a matsayin matakan da suka gabata, ya zama dole ku sami Rasberi Pi (a bayyane), samar da wuta don samun damar gabatar da wutar lantarki a cikin Rasberi Pi, kebul na cibiyar sadarwa, intanet da katin SD tare da software Rasparin an riga an sanya a katin.

Saitin farko

Idan kun kasance mai amfani da unix mai ci gaba, tabbas kun san cewa ba a ba da shawarar yin aiki a matsayin mai amfani a kowane lokaci ba «roto»Ko babban mai gudanarwa, saboda wannan zamu aiwatar da waɗannan matakan.

- Mun buɗe tashar mota kuma mun rubuta waɗannan umarni.

apt-get install sudo
tor adduser
tor passwd

Tare da waɗannan umarnin mai sauƙi mun ƙirƙiri mai amfani «tor»Kuma mun saita kalmar sirri«passwd«, Canja wannan kalma don mafi aminci, ina ba ku shawarar aƙalla Lambobi na 8 inda kuke cakuda haruffa, lambobi da wasu halaye na musamman.

Da zarar anyi wannan matakin, zamu ƙara lissafin mai amfani a cikin jerin gumi:

nano /etc/sudoers

Muna ƙara waɗannan layukan.

Tor ALL = (ALL) ALL

A ƙarshe mun gama wannan matakin na farko tare da ɗaukaka alamun tsaro da yiwuwar sabuntawar dandamalin. Dole ne a yi wannan matakin sosai a kai a kai. Ka tuna hakan!

sudo update apt-get
sudo apt-get upgrade

Saitunan cibiyar sadarwa

Da zarar mun gama duk abubuwan da muka tsara dasu kuma mai amfani da wanda zamuyi aiki dashi an kirkireshi, lokaci yayi da zamu tsara Hanyar hanyar sadarwa. Saboda wannan mun sake buɗe tasha kuma muka rubuta wannan umarnin:

ipconfig

Tare da wannan zamu sami tsarin don amsa mana tare da daidaitawar cibiyar sadarwarmu ta yanzu. A halin da nake ciki wani abu kamar haka:

eth0 Link encap: Ethernet HWaddr 00:23:54:40:66:df inet addr:192.168.0.20 Bcast:192.168.0.255 Mask:255.255.255.0

Kwafi bayanai guda biyu daga wannan tambayar a karamar takarda addet addr y rufe fuska kamar yadda zamu bukace su daga baya. Nan gaba zamu rubuta:

sudo nano /etc/network/interfaces

A cikin martani dole ne mu nemi layin da yayi kama da mai zuwa:

iface eth0 inet dhcp

Kamar yadda kake gani, Rasberi Pi ɗinmu yana samun adireshin IP ɗin sa daga sabar DHCP ta gida. Idan muna son tsayayyen IP dole ne muyi ɗan canje-canje mu bar fayil ɗin kamar haka:

del iface eth0 inet static
address 192.168.0.20
netmask 255.255.255.0
gateway 192.168.0.1

Tor

TOR shigarwa da daidaitawa

Wannan shi ne ɗayan mahimman matakai masu sauki na wannan duka karamin koyawa. Za mu fara:

sudo apt-get install tor

Don aiwatar da wannan matakin, ka tuna cewa dole ne ka haɗa ka da intanet. Zazzagewa da shigarwa zasu fara ta atomatik, don haka wannan matakin zai ɗauki ɗan lokaci, duk ya dogara da saurin hanyar sadarwar. Da zarar an gama wannan matakin, lokaci yayi da za a saita TOR, saboda wannan dole ne mu canza fayil ɗin da ke adireshin / sauransu / tor / torrc kuma ƙara ko gyara waɗannan layukan:

SocksPort 0
Log notice file /var/log/tor/notices.log
RunAsDaemon 1
ORPort 9001
DirPort 9030
ExitPolicy reject *:*
Nickname xxx (sustituye xxx por el nombre de usuario que quieras)
RelayBandwidthRate 100 KB # Throttle traffic to 100KB/s (800Kbps)
RelayBnadwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps)

Matsaloli da ka iya faruwa tare da Tacewar zaɓi

Kamar yadda yake tare da kowane sabar da aka haɗa da hanyar sadarwar, zaku iya samun matsala tare da Tacewar zaɓi ta ku. Don ba da damar wasu nodes a kan hanyar sadarwar TOR don tuntuɓar sabon sabar dole ne ku bude mashigai 9030 da 9001. Waɗannan kundin adireshi suna da takamaiman amfani tunda, misali, tashar 9030 don sabis ɗin kundin adireshi ne yayin da 9001 don aikin sabar kanta. Don yin wannan akwai koyarwar da yawa akan yanar gizo waɗanda ke gaya muku yadda ake yin shi dangane da hutunku da tsarinku.

Mun fara uwar garken TOR

Bayan duk canje-canjen da aka yi a cikin tsarin ya zo da sake kunnawa TOR. Don wannan, rubuta layi mai zuwa a cikin m:

sudo /etc/init.d/tor restart

Tare da wannan umarnin TOR zaku sake farawa tsarin kuma, idan komai ya tafi daidai, lokacin da kuka buɗe fayil ɗin log:

less /var/log/tor/log

dole ne ku sami ɗaya shigarwa kama da wannan:

Jul 24 22:59:21.104 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.

Da wannan tuni zamu sami kumburin TOR namu yana aiki kuma yana aiki daidai. Don bincika hanyar sadarwar TOR, dole ne ku girka abokin ciniki TOR wanda zai kasance mai kula da sanya ku damar yin amfani da hanyar sadarwar TOR ba da sani ba.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Sharhi, bar naka

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Sudoer m

    Shin wannan saitin yana da aminci ga raspi?.

    Koyarwar ba ta nuna nau'in tor node da za a ƙirƙira ba, akwai amintattu ko ƙananan amintattu dangane da ko shigar da su ake, matsakaiciya ko fitarwa. Kazalika da wasu ƙarin tsare-tsaren tsaro don la'akari tare da wannan hanyar sadarwar da ba a sani ba.