Anyị na-ahazi sava na akụkụ ahịa OpenVPN na Windows

Pin
Send
Share
Send


OpenVPN bụ otu n'ime nhọrọ maka VPN (netwọọdụ nzuzo nke onwe ma ọ bụ netwọdị mebere nkeonwe) na-enye gị ohere ime ntinye data n'elu ọwa mebere emebere nke ọma. N'ihi ya, ịnwere ike ijikọ kọmputa abụọ ma ọ bụ wuo netwọk etiti na sava na ọtụtụ ndị ahịa. N'isiokwu a, anyị ga-amụta otu esi emepụta sava dị otú a ma hazie ya.

Anyị na-ahazi ihe nkesa OpenVPN

Dịka e kwuru n’elu, na iji teknụzụ dị na ajụjụ a, anyị nwere ike ibunye ozi site na ọwa ozi nkwudo. Nke a nwere ike ịbụ paịlị faịlụ ma ọ bụ nweta nchebe na Internetntanetị site na sava nke bụ ọnụ ụzọ nkịtị. Iji mepụta ya, anyị achọghị akụrụngwa ndị ọzọ na ihe ọmụma pụrụ iche - a na-eme ihe niile na kọmputa nke ezubere iji rụọ ọrụ sava VPN.

Maka ọrụ ọzọ, ọ ga-adịkwa mkpa ịhazi akụkụ ndị ahịa ya na igwe nke ndị ọrụ netwọọkụ. Ọrụ niile na-agbadata ịmepụta igodo na asambodo, nke a na-enyefeziri ndị ahịa. Faịlị ndị a na-enye gị ohere inweta adreesị IP mgbe ị na-ejikọ sava ahụ ma mepụta ọwa ozi etinyere n’elu. Enwere ike iji naanị isi ozi na-ebufe ya. Ihe omume a nwere ike ime ka nchekwa dịkwuo elu ma hụ na nchekwa data.

Wụnye OpenVPN na igwe ihe nkesa

Echichi bụ usoro ọkọlọtọ nke nwere ụfọdụ nuances, nke anyị ga-ekwu maka ya n'uju.

  1. Nzọụkwụ mbụ bụ ibudata mmemme site na njikọ dị n'okpuru.

    Budata OpenVPN

  2. Na-esote, gbaa installer wee banye na windo nhọrọ mpaghara. N'ebe a, anyị kwesịrị itinye daw n'akụkụ ihe ahụ nwere aha "EasyRSA", nke na-enye gị ohere ịmepụta ma jikwaa akwụkwọ na isi faịlụ.

  3. Nzọụkwụ ọzọ bụ ịhọrọ ebe ịwụnye. Maka ntụsara ahụ, tinye usoro mmemme na mgbọrọgwụ nke sistemụ C :. Iji mee nke a, wepụ iwepụ ngafe ya. Ọ kwesịrị atụgharị

    C: OpenVPN

    Anyị na-eme nke a iji zere ọgba aghara mgbe anyị na-emezu edemede, ebe anaghị anabata oghere dị n'ụzọ ahụ. Nwere ike, n’ezie, itinye ha n’ihe ndebe okwu, mana ilebara anya nwekwara ike ị daa, ịchọ ihe na koodu ahụ abụghị ọrụ siri ike.

  4. Ka emechara ntọala niile ahụ, wụnye ihe omume ahụ na ọnọdụ nkịtị.

Nhazi akuku n’akuku sava

Mgbe ị na-eme usoro ndị a, ị kwesịrị ịkpachara anya dịka o kwere mee. Nmehie ọ bụla ga - eduga inoperability sava. Ihe ọzọ dị mkpa bụ na akaụntụ gị ga-enwerịrị ikike nchịkwa.

  1. Anyị na-aga ndekọ "rsa-mfe", nke na nke anyị dị na

    C: OpenVPN mfe-rsa

    Chọta faịlụ ahụ vars.bat.sample.

    Kpọgharia ya aha vars.bat (ihichapụ okwu ahụ "sample" tinyere ntụpọ).

    Mepee faịlụ a na nchịkọta akụkọ +pad. Nke a dị mkpa, ebe ọ bụ akwụkwọ ndetu a na-enye gị ohere idezi ma chekwaa Koodu, nke na-enyere aka izere njehie n'oge ha na-egbu.

  2. Nke mbu, anyi na - ehichapụ ihe niile edepụtara na akwụkwọ ndụ akwụkwọ ndụ - naanị ihe ga - enye anyị nsogbu. Anyị na-enweta ihe ndị a:

  3. Na-esote, gbanwee ụzọ na nchekwa "rsa-mfe" otu anyị rụtụrụ aka n’oge nrụnye. Na nke a, dị nnọọ ihichapụ agbanwe % Mmemme ma gbanwee ya C:.

  4. Leftzọ anọ ndị a anaghị apụ apụ.

  5. Ndi edoghi nke ozo edoghi anya. Ihe atụ na nseta ihuenyo.

  6. Chekwaa faịlị ahụ.

  7. Ikwesiri idezi faịlụ ndị a:
    • wuo-ca.bat
    • wuo-dh.bat
    • wuo-key.bat
    • wuo-igodo-pass.bat
    • wuo-igodo-pkcs12.bat
    • wuru-isi-server.bat

    Ha kwesịrị ịgbanwe otu

    mepere emepe

    ruo n'ụzọ zuru oke na faịlụ ya kwekọrọ mepere emepe.exe. Echefula ịchekwa mgbanwe ndị ahụ.

  8. Ugbu a mepee folda ahụ "rsa-mfe"mwekota Mgbanwe anyị pịa RMB na oche efu (ọ bụghị na faịlụ). Na menu onodu, hota "Mepee windo iwu".

    Amalite E nyere iwu na ntughari rue na akara uzo a ka emechara.

  9. Anyị na-abanye iwu egosipụtara n'okpuru ma pịa Tinye.

    vars.bat

  10. Na-esote, wepụta "faịlụ otu".

    ọcha-all.bat

  11. Tinyegharịa iwu mbụ.

  12. Nzọụkwụ ọzọ bụ imepụta faịlụ ndị dị mkpa. Iji mee nke a, jiri iwu

    wuo-ca.bat

    Mgbe e gbusịrị ya, usoro ahụ ga-enye nkwado iji gosipụta data anyị banyere na faịlụ vars.bat. Naanị pịa ugboro ole na ole Tinyeruo mgbe isi mmalite ahịrị egosi.

  13. Mepụta igodo DH site na iji mmalite faịlụ

    wuo-dh.bat

  14. Anyị na-akwado asambodo maka akụkụ ihe nkesa. Onwere otu ihe di nkpa n’ebe a. Ọ dị mkpa ka o kenye aha ahụ anyị dere aha ya vars.bat n'ahịrị KEY_NAME. Na ihe atụ anyị, nke a Ogwu. Iwu a bụ dịka ndị a:

    ewu-isi-server.bat Lumpics

    N'ebe a, ikwesiri iji nkwenye nyochaa data Tinye, ma tinye leta ugboro abụọ "y" (ee) ebe achọrọ (lee nseta ihuenyo). Enwere ike imechi akara iwu.

  15. Na katalọgụ anyị "rsa-mfe" aha nchekwa ọhụrụ "igodo".

  16. E kwesịrị idetu ihe ndị dị n’ime ya ma ziga ya n’ime folda "ssl", nke a ga-emebere na ngalaba ntọala nke mmemme ahụ.

    Nlekọta nchekwa mgbe ịdechara faịlụ ndị depụtaghachiri:

  17. Ugbu a gaa na ndekọ

    C: OpenVPN nhazi

    Mepụta ederede ederede ebe a (RMB - Mepụta - Akwụkwọ ederede), nyegharịa ya aha ahụ ihe nkesa.ovpn ma mepee n’ime Notepad ++. Anyị na-abanye koodu a:

    ọdụ ụgbọ mmiri 443
    proto udp
    dev tun
    dev-node "VPN Lumpics"
    dh C: OpenVPN ssl dh2048.pem
    ca C: OpenVPN ssl ca.crt
    cert C: OpenVPN ssl Lumpics.crt
    igodo C: OpenVPN ssl Lumpics.key
    ihe nkesa 172.16.10.0 255.255.255.0
    ndị ahịa max-32
    na-echekwa 10 120
    onye ahia-ya
    comp-lzo
    nọgidesie ike
    ta adikwa
    cipher DES-CBC
    ọnọdụ C: OpenVPN log status.log
    log C: OpenVPN log openvpn.log
    ngwaa 4
    ogbi 20

    Biko mara na aha asambodo na igodo ya kwesiri iha ndi no na folda "ssl".

  18. Na-esote, mepee "Ogwe njikwa" ma jee Ebe Nlekọta netwọkụ.

  19. Pịa na njikọ "Gbanwee ntọala nkwụnye".

  20. Lee, anyị kwesịrị ịchọta njikọ site na "TAP-Windows Ada Ada V9". Can nwere ike ime nke a site na ịpị njikọ PCM ma gaa na ngwa ya.

  21. Kpọgharia ya aha "VPN Lumpics" na-enweghị okwu. Aha a gha aghata "dev-ọnụ" na faịlụ ihe nkesa.ovpn.

  22. Nzọụkwụ ikpeazụ bụ ịmalite ọrụ ahụ. Gbaa mkpirisi Imeri + r, tinye akara n’okpuru, ma pịa Tinye.

    ọrụ .msc

  23. Chọta ọrụ aha ya "OpenVpnService", pịa RMB ma gaa na ngwa ya.

  24. Changedị mbido gbanwere gaa "Na akpaghị aka", bido ọrụ wee pịa Tinye.

  25. Ọ bụrụ na anyị mere ihe niile dị mma, mgbe ahụ obe uhie ga-apụ n'anya n'akụkụ ihe nkwụnye ahụ. Nke a pụtara na njikọ dị njikere ịga.

Nhazi akụkụ ndị ahịa

Tupu ịmalite nhazi ndị ahịa, ịkwesịrị ịrụ ọtụtụ ihe na igwe ihe nkesa - mepụta igodo na asambodo iji hazie njikọ ahụ.

  1. Anyị na-aga ndekọ "rsa-mfe", mgbe ahụ na nchekwa "igodo" ma mepee faịlị ahụ index.txt.

  2. Mepee faịlụ ahụ, hichapụ ọdịnaya niile ma chekwaa ya.

  3. Laghachi na "rsa-mfe" ma na-agba ọsọ E nyere iwu (SHIFT + RMB - Mepee windo iwu).
  4. Ọzọ, gbaa ọsọ vars.bat, ma mepụta asambodo ndị ahịa.

    wulite-key.bat vpn-ahịa

    Nke a bụ akwụkwọ nkịtị maka igwe niile dị na netwọkụ. Iji mee ka nchekwa dịkwuo elu, ịnwere ike ịmepụta faịlụ nke gị maka kọmpụta ọ bụla, mana kpọọ ya aha dị iche (ọ bụghị "vpn-ahịa", na "vpn-ahịa1" na ndi ozo). N'okwu a, ịkwesịrị ikwugharị usoro niile, malite na nhicha index.txt.

  5. Ihe omume ikpeazụ - nnyefe faịlụ vpn-client.crt, vpn-ahịa.key, ca.crt na dh2048.pem onye ahia. Nwere ike ịme nke a n'ụzọ ọ bụla dabara adaba, dịka ọmụmaatụ, ịdegara USB flash mbanye ma ọ bụ bufee ya na netwọkụ.

Ọrụ ị ga-arụ na igwe ahịa:

  1. Wụnye OpenVPN n'ụzọ mbụ.
  2. Mepee ihe omume etinyere ihe ndekọ ahụ wee gaa na nchekwa "hazie". Mustkwesịrị itinye akwụkwọ akwụkwọ na faịlụ isi gị ebe a.

  3. N’otu folda ahụ, mepụta faịlụ ederede ma nyegharị ya aha ya nhazi.ovpn.

  4. Mepee n’ime nchịkọta akụkọ wee dee koodu a:

    onye ahịa
    mkpebi enweghi ike
    nobind
    Anya 192.168.0.15 443
    proto udp
    dev tun
    comp-lzo
    ca ca.crt
    cert vpn-ahịa.crt
    igodo vpn-ahịa.key
    dh dh2048.pem
    ise n'elu
    cipher DES-CBC
    na-echekwa 10 120
    nọgidesie ike
    ta adikwa
    ngwaa 0

    N’ahịrị "anya" can nwere ike ịdebanye aha adreesị IP nke mpụga nke igwe ihe nkesa - yabụ anyị nwere ike ịbanye na Internetntanetị. Ọ bụrụ na ịhapụ ya dịka ọ dị, ọ ga - ekwe omume naanị ijikọ na sava ahụ site na ọwa ozi ezoro ezo.

  5. Gbaa OpenVPN GUI dị ka onye nchịkwa site na iji ụzọ mkpirisi na desktọpụ, mgbe ahụ na tray anyị chọtara akara ngosi kwekọrọ, pịa RMB ma họrọ ihe mbụ nwere aha Jikọọ.

Nke a mezue nhazi nke sava OpenVPN na onye ahia ya.

Mmechi

Nhazi nke netwọta VPN nke gị ga - enyere gị aka ịchekwa ozi ebuga dị ka o kwere mee, meekwa ka ịntanetị dị nchebe karịa. Isi ihe bụ ịkpachara anya karị mgbe ị na-emebe sava ahụ na akụkụ ndị ahịa, site na omume ndị ziri ezi, ịnwere ike iji uru niile nke netwọkụ mebere onwe.

Pin
Send
Share
Send