Encrypt yako DNS traffic neDNSCrypt Proxy muUbuntu uye tarisa zvakanyanya zvakachengeteka

Indaneti yakachengeteka

DNSCrypt Proxy yakavhurika sosi yekushandisa iyo inovavarira ku encrypt iyo traffic yeDNS yekubatana kwedu kuti ifambe nekuchengeteka kukuru. Iyo purogiramu inonyora zvinokumbirwa zveDNS munharaunda imomo uye izvi zvinobva zvadzvanywa neanopa DNS, saka chero munhu anoedza kuvabata munzira (semuenzaniso, kuita kurwisa murume-pakati-pakati) uchave nenguva yakaoma kwazvo kuiwana.

Ikozvino pane yakanaka nhamba ye Vanopa DNS vanotsigirwa ne DNSCrypt Proxy, uye sezvo iri yemahara software, chero munhu ane ruzivo rwakakwana anogona kumisikidza yavo yavo DNS server uye kuigadzirisa pamwe nehurongwa. Nekudaro, nekutadza zvakatogadzirirwa kare kushandiswa ne OpenDNS.

Mune ino posvo ini ndiri kuenda kuzokuratidza yakapusa uye yakakosha kumisikidza mune iyo kesi ye Ubuntu uye zvigadzirwa. Vaya vanoda kumisikidzwa kwepamberi vanogona kubvunza iyo peji peji y yako yekuchengetera paGitHub.

Kuiswa

Isu tinotanga nekuisa iyo package DNSCrypt Proxy kubva ku PPA repository inochengetwa naSergey «Shnatsel» Davidoff:

sudo add-apt-repository ppa:shnatsel/dnscrypt
sudo apt-get update
sudo apt-get install dnscrypt-proxy

Nezvo iyo yatove kuiswa uye kumhanya, ikozvino isu tinogona chete kuudza iyo system kuti ishandise. Kune izvi isu tine nzira mbiri, yekutanga nekoni uye yechipiri mu graphic mode, sarudza iyo yaunoda zvakanyanya:

1 nzira

Isu tinobvisa iyo DNS iri kushandiswa izvozvi:

sudo unlink /etc/resolv.conf

Isu tinogadzira nyowani /etc/resolv.conf faira ine chinyorwa chemavara:

sudo gedit /etc/resolv.conf

Uye isu tinonamira iyi tambo kuti ipfuure iyo DNS traffic kuburikidza DNSCrypt:

nameserver 127.0.0.1

Iye zvino isu tinochengetedza iyo faira kudzivirira Network maneja chinja icho:

sudo chattr +i /etc/resolv.conf

Kuti uchinje zvakare gare gare, unofanira kutanga wabvisa kudzivirirwa nemurairo uyu:

sudo chattr -i /etc/resolv.conf

Ipapo vanogona kudzokera kuno chengetedza kana kwete zvichienderana nezvavari kuda kuita.

Isu tinochengetedza shanduko uye nekuvhara mupepeti.

2 nzira

Tinodzvanya pane network network mujeri redu uye tinya Edza kubatana. Iye zvino tinosarudza kubatana kwatinoita uye tinya pairi Hora. Muhwindo rinovhura tinoenda kune iyo tebhu IPv4 marongero uye isu tichaona chakadai.

DNSCrypt Proxy Network Maneja

Isu tinogadzirisa sarudzo senge dzinoonekwa ipapo, kusarudza mukati Maitiro "Otomatiki kero chete (DHCP)", uye mu DNS maseva kuisa 127.0.0.1

Kuvhiya

Kunyangwe iwe waishandisa iyo Maitiro 1 s 2 nzira, rinotevera danho reboot Network maneja:

sudo service network-manager restart

Tichaona kuti kubatana kwakatemwa uye kutangwazve. Kana zvese zvikafamba mushe, zvinenge zvichitove kushanda DNSCrypt Proxy. Kuti titarise isu tiri kuenda peji ino, uye kana mhedzisiro yacho iri yakanaka iwe unotigamuchira isu ku OpenDNS:

OpenDNS Yakagamuchirwa

Zvikasadaro isu tinowana yekukanganisa meseji ichiti "Oops", kana haizotakure chero peji. Kuti tigadzirise isu tinongoshandura sevha 127.0.0.1 ye127.0.0.2 (kana imwewo) tobva tangazve Network maneja.

Chete Ubuntu 14.04

Iyo inochengetedza iyo PPA inoyambira kuti kune bug mukati Ubuntu 14.04 izvo zvinodzivirira kudzima michina kana DNSCrypt Proxy iri kushanda. Inotaridza kuti urikushanda pachigamba kuti ugadzirise, asi parizvino inogona kugadziriswa nekumhanyisa iyi mirairo:

sudo apt-get install apparmor-utils
sudo aa-complain /etc/apparmor.d/usr.sbin.dnscrypt-proxy

Uninstallation

Kana gare gare isu tinoda kurega kushandisa DNSCrypt ProxyChekutanga pane zvese, uchafanirwa kudzoreredza sarudzo dzekubatanidza kune zvavaive pakutanga.

Kana iwe wakashandisa iyo 1 nzira kwaizove kubvisa dziviriro kubva kufaira uye wozogonesa zvakare iyo yekare DNS nemutemo uyu:

sudo rm /etc/resolv.conf && sudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf

Kana iwe wakashandisa iyo 2 nzira, kwaizove kuvhura iyo network yekumisikidza menyu zvakare uye mu Maitiro sarudza "otomatiki (DHCP)".

Chero zvazvingaitika, iwe uchafanirwa kutangazve gare gare Network maneja nemurairo wataurwa pamusoro, uye pakupedzisira uninstall DNSCrypt Proxy saizvozvo:

sudo apt-get autoremove --purge dnscrypt-proxy

Usakanganwa zvakare kubvisa iyo PPA nekuenda kuSoftware Center> Hora> Imwe software.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Makomendi gumi, siya zvako

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   DAVHIDHI HENRY akadaro

    Inoshanda zvakare yeOpensuse inogona kutsikisa rumwe ruzivo nezve iyi distro

    1.    Bhuku reManyuko akadaro

      Ruzhinji kutaura, iri [inenge] generic nzira iyo inoshanda kune [potse] chero kugoverwa (nzira 2 yeavo vanoshandisa Network Manager), asi zviri pachena kuti zvinyorwa zvinoshanduka uye zvimwe zvinhu senzira yekutanga nekutangazve masevhisi.

  2.   Mapfupa akadaro

    Reply with quote
    1. kutaura kwekutanga hakuonekwe kana chimwe chinhu nekuti kuverenga kunotangira pa2
    2. Ndakazviona mumaposos blog asi muunganidzwa wakachena, uye sezvinei nyaya yacho haisisipo

    1.    Bhuku reManyuko akadaro

      1. Kutaurisa kwekutanga ndeye pingback.
      2. Ndakanga ndazvionawo paPerseus blog kare kare, asi ikozvino zvinoita kunge zviri kuita kugadzirisa uye kudzima zvese zvayakapinda.

  3.   Jorge akadaro

    Ini ndakangozviedza, asi pasina budiriro.

    Ini ndakaita zvakataurwa nedzidziso iyi, uye ipapo ndakanga ndapererwa neinternet, saka ndakadzokera kuDNS yandaive nayo uye zvese zvaive zvakanaka.

    Wakarasikirwa nhanho, netsaona? Nekuti ini handigone kunzwisisa kuti ndingadai ndakapera sei internet kana ndikatevera iyi dzidziso kune iyo tsamba.

    Ndinokutendai.

    1.    Jorge akadaro

      Ini ndinopindura: Ini ndanga ndichishandisa DNSmasq uye ndaifanirwa kuita zvishoma kumisikidza. Mukupedzisira ndakabvisa uye ndikatevera iyi dzidziso zvakare uye zvese zvakanaka. Thanks 😀

      1.    Bhuku reManyuko akadaro

        Ndiri kufara kuti wakakwanisa kuzvigadzirisa. 🙂

      2.    Mausmann akadaro

        Mhoro! Unoziva handikwanise kuzviita kufamba Izvo zvinodaro sei kubva kuDNSmasq?

  4.   gaston akadaro

    Kana ndiri kuseri kwemumwe munhu, zvinoshanda here?

    1.    Jorge akadaro

      Nehunyanzvi, inofanirwa kushanda.

      Ndiri kushandisa Privoxy uye kumisikidza kwayo kuvhara kushambadza, uye panguva imwechete ini ndinoshandisa DNScrypt proxy, uye handina kumbove nemadhirama. Zvichida imhaka yekuti kune ma proxies maviri ezvinangwa zvakasiyana, imwe yeDNS uye imwe yekutsvaga webhu.

  5.   rawBasic akadaro

    Hukuru! .. .. chokwadi ndechekuti ini ndaisaziva nzira .. ..super iri nyore kugadzirisa muArchLinux futi .. ..ndatenda ..

    1.    Bhuku reManyuko akadaro

      Ndizvozvo, Arch zvakare zvakareruka; Ini handina kuzviisa pano nekuti ini handina matanho akagadziridzwa, asi kekupedzisira pandakaishandisa ipapo yaive:

      # pacman -S dnscrypt-proxy
      # systemctl enable dnscrypt-proxy
      # systemctl start dnscrypt-proxy

      Uye zvimwe zvese zvaive zvakafanana nezvazviri mudzidziso.

      HURE: Iyo yakazara mirairo iri pano: Isa DNSCrypt Proxy pane Arch Linux

      1.    Mahdzu akadaro

        Ndine urombo, asi handikwanise kuzviita muArch ... ini ndinoisa, gonesa, tanga, shandisa nhanho 2 uye wotangazve Network Manager uye ndinogara ndichiwana iwo meseji: OPPSS ... Chingave chii?

      2.    Mahdzu akadaro

        Akapindura: Ini ndinoshandisa nzira 1 uye inondishandira. Ndatenda!

        1.    Bhuku reManyuko akadaro

          Ini ndaisa pano mirairo yekuzviita muArch Linux: https://blog.desdelinux.net/instalar-dnscrypt-proxy-en-arch-linux/

  6.   Luis akadaro

    Inotaridzika zvakanaka kunyangwe ndisati ndayedza izvozvi.

    Rudzi urwu rwechinhu runokanganisa kumhanya kwekubatana? Zvinononoka here?

    Ndinokutendai.

    1.    Bhuku reManyuko akadaro

      Pane kupokana, inova inokurumidza nekuti iwe unotanga kushandisa OpenDNS DNS, iyo ine yakanyanya kukwirira yekumhanyisa kumhanya kupfuura yako ISP. Kunze kwekunge iwe uchibatsirwa kubva kune mamwe maitiro eOpenDNS sekudzivirirwa kubva kune phishing uye zvichingodaro. 😉

      1.    Luis akadaro

        Ok

        Kusvika parizvino ndakashandisa maSeva eGoogle, ini handizive kuti achachengetedzeka zvakadii asi anomhanya

        1.    Bhuku reManyuko akadaro

          Ehe, ini ndakavashandisawo, kunyangwe ndichifarira ari maOverDNS zvirinani nekuti zvinondipa kunzwa kwekuti vanokurumidza uye vanogadzira mashoma zvikanganiso; Kunyangwe iwo ari iwo chete maonerwo angu, ini handina kuita bvunzo kana chero chinhu kuti zviongorore. 😛

      2.    Luis akadaro

        Ichokwadi, ndakaiyedza pane imwe komputa yangu uye zvinoita "sekuti inokurumidza.

        Chinhu chimwe chandisinganzwisise:

        Nei uchifanira kuisa dnscrypt-proxy? Ndiri kureva, hazvaizokwana here kushandura iyo DNS yatinayo mukumisikidzwa kwenetiweki kuti ive OpenDNS DNS?

        Izvi ndo zvandinoita kushandisa Google DNS: Ini ndinongo chinja iro ruzivo mukombuta kumisikidza, ini handidi kuisa chero chinhu kana kumhanyisa imwe daemon ...

        Ndicho chete chakashata chandinoona.

        1.    Bhuku reManyuko akadaro

          MuOpenDNS izvi zvinogona zvakare kuitwa, asi izvo zvandinotsanangura hazvina kufanana. Paunogadzira iyo DNS nenzira iyi, iyo mibvunzo inoitwa nenzira dziri nyore, pasina chero rudzi rwekunyorera kana chengetedzo. Nezvo iwe unowedzera kunyorera uye kusimbisa. Ndokunge, neDNSCrypt Proxy yauri kushandisa OpenDNS DNS Y encryption tekinoroji, ese ari maviri, kwete yekutanga chete.

      3.    Luis akadaro

        Ndinonzwisisa, ndatenda nemhinduro yako.

        PaInternet ivo vanokurudzira kushandiswa kweUkusungwa pamwe chete ne dnscrypt asi ini handizive chaizvo zvinoita chirongwa ichocho.

        Chii chaungandiudza?

        1.    Bhuku reManyuko akadaro

          Sezvo ini ndinonzwisisa iri DNS server iyo iwe yaunowisa munharaunda; Pfungwa, inofanirwa kuwedzera yako kumhanya zvakanyanya nekuti inogadzira cache uye DNSCrypt inoita zvikumbiro ipapo panzvimbo pekuzvitumira kuOpenDNS, asi zvimwe kunze kweizvozvo handina kunyatsoongorora kuti ndione chaizvo maitiro acho.

      4.    Luis akadaro

        Ok, ndatenda neruzivo.

  7.   ichit akadaro

    Hmm ini ndinopokana zvakanyanya izvi zvichashanda mukambani panoshandiswa DNS yemuno nemaSeva eProxy. Zvisinei ndichaedza kuona kuti sei.

  8.   Manu lopez akadaro

    Yakakura, inoshanda 100%.

  9.   chipoko akadaro

    Zvakandishandira! : ') Ndatenda zvikuru nguva refu yapfuura ndanga ndichitsvaga mashandisiro aungaita proxy kana vpn (yemahara) ini ndichiri kushaya iyo vpn yandisina kuwana yandaigona kuisa pane yangu Ubuntu

    1.    Bhuku reManyuko akadaro

      Ini handizive kuti nei waitsvaga proxy, asi dai kwaive kushandura IP yako, izvi hazvikubatsire, nekuti zvinongobata kunyorera kwekukumbira pakati pemuchina wako uye mupi weDNS. IP yako inoramba yakangofanana uye nezve maseva zvese zvinoramba zvakafanana.

      1.    chipoko akadaro

        Kana ndikaona mushure mekunge ndaita bvunzo, iko kuchinja IP kero, nekunyorera iko kwatova kumberi mukutsvaga chengetedzo. Iwe unoziva nezve kutumira mune blog uko kunotsanangurwa kwakawanda kana zvishoma nenzira yakapusa mashandisiro aungaita vpn muUbuntu? Pandakaverenga uye ini ndakakwanisa kuongorora pane kukanganisa kunodzivirira kuisa iyo faira iyo ine zvigadziriso zvatogadzirwa kuitira kuti zvinhu zvinyanye kuomarara, handina kukwanisa kushandisa imwe. Pandaive ndichishandisa windows ndaive neimwe inonzi hotspotshield uye iyo haina linux rutsigiro kana zvirinani handizive kuishandisa pano. Ndatenda nemhinduro kune chero munhu anogona uye anoda kundibatsira.

    2.    Keiller akadaro

      Kuti ushandise VPN muUbuntu unogona kushandisa OpenVPN muNetwork Manager kana mutaraini nekungonyora "openvpn -config file", uko faira iri iro faira rekumisikidza iro mupi wako raachakupa, rinokumbirawo iwe mushandisi uye pasa kuti upinde. Semuenzaniso, kune yemahara vpnbook sevhisi. Ehe, iwe unofanirwa kuisa openvpn kutanga kana iwe usina iyo yakaiswa.
      Thanks.

      1.    chipoko akadaro

        Thanks Keiller. Bvisa DNSCrypt Proxy sekureva kwenyaya yacho, ini ndakodhaunura openvpn, mafaira ekumisikidza uye ini ndakapinda kuburikidza neiyo terminal neiyo yekuraira, ini ndakaisa zita rekushandisa uye password uye zvinondipa iyi kukanganisa: ERROR: Haikwanise ioctl TUNSETIFF tun1: Kushanda hakubvumidzwe (errno = 1); Kubuda nekuda kwekukanganisa kunouraya
        Unoziva here zvandingaite nezvazvo?

  10.   f akadaro

    nameserver 127.0.0.1 Iyo yasara yakadai, inongoteedzerwa nekunamirwa

    Izvo hazvindipe ini handikwanise kuzvishandisa: C

    1.    Bhuku reManyuko akadaro

      Verenga mirairo zvakanaka:

      Zvikasadaro isu tinowana yekukanganisa meseji ichiti "Oops", kana haizotakure chero peji. Kuti tizvigadzirise tinongoshandura sevha 127.0.0.1 kuenda ku127.0.0.2 (kana imwewo) tobva tangazve Network Manager zvakare.

      Zvichida zvakanakisa kana uchizviita nenzira yeMhando 2.

  11.   mail akadaro

    Izvi zvinodzivirira yangu email kubva kubiwa pane yeruzhinji wifi?

    1.    Bhuku reManyuko akadaro

      Iyo inokubatsira iwe kurwisa kwemurume-mukati-wepakati, asi chengetedzo yakanakisa yeruzhinji Wi-Fi iVPN.

    2.    Pepe akadaro

      Muchas gracias

    3.    Pachivande Proxies akadaro

      Mhinduro yeiyi kufamba nenzira dzakavanzika uye isingazivikanwe proxies, izvo zvisingachengetedze mushandisi matanda uye, kana zvichibvira, yekuzvipira kushandiswa.

      Izvo zvakachipa uye iwe unovimbisa iyo yega yakavanzika yekuvhura kwako.

      Kwaziso.

  12.   Bart akadaro

    Izvo hazvishande pamwe VPN. Zvinonyadzisa

    1.    Bhuku reManyuko akadaro

      Kwete, nekuti kana uchitsvaga paVPN urikushandisa iyo DNS yeVPN pachayo pachinzvimbo cheiyo yakagadzirirwa munharaunda.

  13.   geopelia akadaro

    Mukuru ndinokutendai zvakanyanya zvinoita kuti ndinzwe ndakachengeteka zvakanyanya pandinosangana ne wifis pasina mapassword

  14.   Mario zamora akadaro

    Mhoroi vakomana, ini ndatevera iyo dzidziso kune iyo tsamba uye ikozvino ini handina Internet sezvo ini ndinodzosera dambudziko nekuti munzira yakatarwa iwe haudi proxy dnsscript isina yakadaro. Ndibatsire ndapota handina internet.

    1.    Bhuku reManyuko akadaro

      Hauna kutevera dzidziso kune iyo tsamba. Iwe hausi pamhepo nekuti wakabvisa DNSCrypt pasina kudzosera shanduko kutanga. Verenga iyo uninstall mirairo zvakare.

      1.    Mario zamora akadaro

        Ini ndakatevera iyo dzidziso sezvayaifanira. Shandisa nzira 1 pamwe nekubvisa kwayo kwakaringana. Asi kana ichinge ichimutswa inoramba iri muchiitiko. Chero mazano?

        1.    Bhuku reManyuko akadaro

          Ngatione, ngatiendei pamusoro pematanho ekubvisa ...

          Chengetedza iyo faira:

          sudo chattr -i /etc/resolv.conf

          Dzosera iyo yekare DNS:

          sudo rm /etc/resolv.conf
          sudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf

          Dzorerazve Network Manager:

          sudo service network-manager restart

          Bvisa DNSCrypt Proxy:

          sudo apt-get autoremove --purge dnscrypt-proxy

          Ndeupi murairo wakanamatira?

  15.   Mario Zamora muchengeti wemufananidzo akadaro

    Muizvi :
    sudo apt-tora autoremove -purge dnscrypt-proxy

    Kubviswa kwacho kunotanga uye hakuzomboperi.

    1.    Bhuku reManyuko akadaro

      Dashi inosara pamusoro pemurairo, purge zvinongofanira kuenda nema hyphens maviri pakutanga, seichi:

      sudo apt-get autoremove --purge dnscrypt-proxy

      Bvunzo kana izvozvo zvinogadzirisa dambudziko rako. Chero nzira, kana iwe ukatevera nhanho dziri pamusoro iwe unofanirwa kuve uri online zvisinei kuti iwo wekupedzisira rairo unoshanda kana kwete.

  16.   Roberto Gonsalez akadaro

    Yakanaka kwazvo posvo yakandibatsira zvakanyanya. Zvakanaka !!!

  17.   Mykeura akadaro

    Dzidziso inonakidza Manuel.
    Ini ndazviisa mukuita uye kubatana kwangu kuri kuenda kukuru.
    Ndinokutendai.

  18.   linuxlibre2014 akadaro

    Mhoro shamwari shamwari kubva desdelinux Ndinoda kubvunza mubvunzo pandinoyedza kuita iyo yekuisirwa iine iyo mushure mekuwedzera iyo repositori uye kugadzirisa ini ndinoisa Sudo apt-tora kuisa dnscrypt-proxy asi inondiudza:
    E: Iyo dnscrypt-proxy package haigone kuwanikwa ini ndine ubuntu 14.04 handizive kuti nei izvi zvichiitika zvichibatsira

    1.    Francisco akadaro

      Chinhu chimwe chete ichi chinoitika kwandiri 🙁
      Ubuntu 14.04

  19.   Keos akadaro

    Ini ndaigona kuzviita zvirinyore muArch / Antergos asi muDebian / Jessie kubva padanho rekutanga zvinokundikana, handizive kana zvisingaenderane naDebian:

    keos @ kaos: ~ $ su
    Contraseña:
    midzi @ kaos: / home / keos # wedzera-apt-repository ppa: shnatsel / dnscrypt
    bash: wedzera-apt-repository: rairo haina kuwanikwa
    midzi @ kaos: / home / keos #

  20.   mausmann akadaro

    Mhoro! Iyo saiti yakanaka kwazvo uye ini ndaida kukubvunza iwe:
    Ini ndinoteedzera ese mirairo asi ini handikwanise kuitora kuti ishandise iyo DNS yatakachinja mu resolutionv.conf (127.0.0.1 kana 127.0.0.2). Saka ini ndakasara ndisina internet yekuwana. Ini ndinoshandisa DEBIAN uye WICD panzvimbo yeNetwork Manager.
    Na "tsvaga / -zita dnscrypt-proxy" Ndinoona kuti chirongwa ichi chakaisirwa kwachinofanirwa kuve (/ usr / local / sbin uye / usr / local / share /).
    Ne «ps aux | grep dnscrypt-proxy »inondikanda inotevera chinobuda:
    mudzi 6346 0.0 0.0 2808 672? SLs 09: 45 0: 00 dnscrypt-proxy -inzvimbo-kero = 127.0.0.1 - daemonize -resolver-kero = 176.10.127.43: 443 -mupi-wezita = 2.dnscrypt-cert.ns3.ca.dns.opennic.glue –Provider-key = 1C19: 7933: 1BE8: 23CC: CF08: 9A79: 0693: 7E5C: 3410: 2A56: AC7F: 6270: E046: 25B2: EDDB: 04E3

    Ini handinzwisisi pandiri kutadza. Ndakaverenga iyo - rubatsiro asi handina kuwana kudzoka. Kubva ndatotenda zvikuru kwazvo.

  21.   Raúl akadaro

    Yakakwana paLubuntu 16.04, ndinokutendai zvikuru nekugovana ruzivo.

  22.   jhon akadaro

    Mhoro mumwe munhu pano anogona kundibatsira ne vpn kana proxy yekuita yakabhadharwa kuongororwa kweunited states ndapota