5 Txoj Hauv Kev Txuas Cov Khoom Siv rau OpenVPN Server

Cov txheej txheem:

5 Txoj Hauv Kev Txuas Cov Khoom Siv rau OpenVPN Server
5 Txoj Hauv Kev Txuas Cov Khoom Siv rau OpenVPN Server

Video: 5 Txoj Hauv Kev Txuas Cov Khoom Siv rau OpenVPN Server

Video: 5 Txoj Hauv Kev Txuas Cov Khoom Siv rau OpenVPN Server
Video: Yuam Kev Los Tsuj 2024, Tej zaum
Anonim

Virtual Private Networks (VPNs) tab tom loj hlob nyob rau hauv cov neeg nyiam nrog cov lej ntawm cov neeg siv xav kom khaws lawv tus kheej ntiag tug ntawm lub network. OpenVPN yog ib qho ntawm VPN kev daws teeb meem nrov. QhibVPN yog qhov tsim nyog rau siv rau feem ntau ntawm kev ua haujlwm. Koj xav tau tus neeg tshwj xeeb los txuas lub cuab yeej rau OpenVPN server. Koj tseem yuav xav tau cov ntaub ntawv teeb tsa los ntawm VPN tus muab kev pabcuam koj siv.

Kauj ruam

Txoj Kev 1 ntawm 5: Windows

Txuas mus rau OpenVPN Server Step 1
Txuas mus rau OpenVPN Server Step 1

Kauj Ruam 1. Rub tawm qhov OpenVPN tus thov kev pabcuam

Koj xav tau kev pabcuam txuas nrog hu ua "tus neeg siv khoom". Qhov kev pabcuam neeg siv tswj kev sib txuas los ntawm lub khoos phis tawj mus rau OpenVPN server. Koj tuaj yeem rub tawm qhov program program ntawm no. Siv qhov "Installer" txuas uas sib haum rau koj lub Windows. Duab: Txuas mus rau OpenVPN Server Step 1 Version 2-j.webp

Koj yuav tsum paub seb lub Windows koj siv yog 32 ntsis lossis 64 ntsis version. Nias Win+Pause, tom qab ntawd pom qhov nkag "System type"

Txuas mus rau OpenVPN Server Step 2
Txuas mus rau OpenVPN Server Step 2

Kauj Ruam 2. Khiav tus neeg siv kev teeb tsa program

Khiav OpenVPN installer ib zaug nws ua tiav rub tawm. Paub meej tias koj xav khiav nws. Ua raws cov lus qhia muab txuas ntxiv, thiab tawm txhua qhov chaw ntawm lawv qhov tsis raug. Txhua qhov kev pabcuam tsim nyog yuav raug teeb tsa rau OpenVPN kom ua haujlwm ib txwm muaj.

Txuas mus rau OpenVPN Server Step 3
Txuas mus rau OpenVPN Server Step 3

Kauj Ruam 3. Rub tawm cov ntawv teeb tsa los ntawm server

Txhua lub server khiav OpenVPN yuav tsum muab cov ntaub ntawv teeb tsa rau koj. Ib ntawm cov ntaub ntawv nws suav nrog yog daim ntawv pov thawj kev nyab xeeb. Lwm cov ntaub ntawv muaj cov ntaub ntawv hais txog server. Tej zaum yuav muaj qee cov ntaub ntawv teeb tsa server uas koj xav tau rub tawm yog VPN server muab kev pabcuam los ntawm ntau lub server.

  • Koj tuaj yeem pom cov ntaub ntawv teeb tsa los ntawm nplooj ntawv txhawb nqa ntawm VPN kev pabcuam koj siv. Kev teeb tsa cov ntaub ntawv tuaj yeem ua ke hauv ZIP cov ntaub ntawv.
  • Yog tias koj nrhiav tsis tau cov ntaub ntawv teeb tsa, koj tseem tuaj yeem txuas koj lub cuab yeej rau OpenVPN server. Saib Kauj Ruam 9 ntawm txoj kev no.
Txuas mus rau OpenVPN Server Step 4
Txuas mus rau OpenVPN Server Step 4

Kauj Ruam 4. Luam cov ntawv teeb tsa mus rau hauv phau ntawv teev npe uas xav tau

Luam qhov tseem ceeb thiab teeb tsa cov ntaub ntawv rau hauv C: / Program Files / OpenVPN / config directory for OpenVPN. Cov npe yuav nyob hauv C: / Program Files (x86) OpenVPN / teeb tsa yog tias koj tsis tuaj yeem pom nws los ntawm phau ntawv teev npe dhau los.

Txuas mus rau OpenVPN Server Step 5
Txuas mus rau OpenVPN Server Step 5

Kauj Ruam 5. Txoj cai-nias rau ntawm OpenVPN shortcut, tom qab ntawv xaiv "Run as administrator"

Koj yuav tsum khiav OpenVPN siv cov cai tswj hwm.

Nco ntsoov tias OpenVPN raug xiam oob qhab ua ntej koj pib ntawm theem no

Txuas mus rau OpenVPN Server Step 6
Txuas mus rau OpenVPN Server Step 6

Kauj Ruam 6. Nyem ob npaug rau ntawm OpenVPN lub cim ntawm koj li System Tais

Koj yuav pom cov npe ntawm cov servers muaj raws li cov ntaub ntawv teeb tsa uas tau theej rau hauv OpenVPN's config directory.

Txuas mus rau OpenVPN Server Step 7
Txuas mus rau OpenVPN Server Step 7

Kauj Ruam 7. Xaiv tus server uas koj xav siv, tom qab ntawd nyem "Txuas"

Koj yuav raug nug kom nkag mus rau lub npe siv thiab tus lej nkag mus rau lub server. Koj yuav tsum tau txais ob qho ntaub ntawv thaum koj tso npe rau VPN kev pabcuam.

Txuas mus rau OpenVPN Server Step 8
Txuas mus rau OpenVPN Server Step 8

Kauj Ruam 8. Nco ntsoov tias koj tau txuas nrog

Kev ceeb toom qhia tias koj tau txuas nrog VPN server yuav tshwm sim. Kev siv Internet yuav hla VPN server.

Txuas mus rau OpenVPN Server Step 9
Txuas mus rau OpenVPN Server Step 9

Kauj Ruam 9. Txuas lub cuab yeej rau VPN yam tsis siv cov ntaub ntawv teeb tsa

Koj tseem tuaj yeem txuas rau server thiab rub cov ntaub ntawv raug.

  • Pib Qhib OpenVPN, tom qab ntawd nkag mus rau tus IP chaw lossis tus neeg rau zaub mov hostname.
  • Sau tus username thiab password thaum hais kom sai.
  • Xaiv koj qhov profile thaum hais kom sai.
  • Xaiv "Ib txwm" thaum hais kom lees txais daim ntawv pov thawj.

Txoj kev 2 ntawm 5: Mac

Txuas mus rau OpenVPN Server Step 10
Txuas mus rau OpenVPN Server Step 10

Kauj Ruam 1. Rub tawm "Tunnelblick"

Koj xav tau ib txoj haujlwm hu ua "tus thov kev pabcuam" txhawm rau txuas rau server. Lub koom haum uas tsim OpenVPN tsis muab cov neeg siv khoom rau mac. Tunnelblick yog pub dawb OpenVPN tus thov kev pabcuam tsim rau Mac. Koj tuaj yeem rub nws ntawm no. Xaiv qhov "Tseeb" txuas mus rub tawm Tunnelblick installer.

Txuas mus rau OpenVPN Server Step 11
Txuas mus rau OpenVPN Server Step 11

Kauj ruam 2. Nyem ob npaug rau rub tawm qhov program program installer

Ib lub qhov rai tshiab yuav qhib. Nyem ob npaug rau ntawm Tunnelblick.app cov ntaub ntawv thiab xaiv "Qhib". Paub meej tias koj xav qhib qhov program. Nkag mus rau koj cov ntaub ntawv tus thawj coj rau nruab Tunnelblick.

Txuas mus rau OpenVPN Server Step 12
Txuas mus rau OpenVPN Server Step 12

Kauj Ruam 3. Rub tawm VPN cov ntaub ntawv teeb tsa

Txhua qhov kev pabcuam OpenVPN yuav tsum muaj cov ntaub ntawv rub tawm tau. Cov ntaub ntawv no yooj yim rau txheej txheem teeb tsa Tunnelblick. Koj tuaj yeem rub tawm cov ntawv teeb tsa los ntawm VPN tus muab kev pabcuam muab nplooj ntawv txhawb nqa.

Txuas mus rau OpenVPN Server Step 13
Txuas mus rau OpenVPN Server Step 13

Kauj Ruam 4. Tua Tunnelblick

Pib Tunnelblick tom qab koj rub tawm cov ntawv teeb tsa. Koj yuav raug ceeb toom kom xaiv cov ntawv teeb tsa tshiab ua ntej tus neeg siv khoom tuaj yeem pib. Nyem "Kuv muaj cov ntaub ntawv teeb tsa", tom qab ntawd xaiv "OpenVPN Configuration (s)". Yog tias cov ntaub ntawv teeb tsa tshwj xeeb rau Tunnelblick, xaiv "Tunnelblick VPN Configuration (s)".

  • Xaiv "Qhib Tus Kheej Configurations Folder". Lub qhov rai nrhiav yuav qhib.
  • Luag thiab poob tag nrho cov ntaub ntawv teeb tsa rau hauv cov npe uas qhib.
Txuas mus rau OpenVPN Server Step 14
Txuas mus rau OpenVPN Server Step 14

Kauj Ruam 5. Nyem lub cim Tunnelblick ntawm cov ntawv qhia zaub mov

Xaiv lub server koj xav siv.

Koj yuav raug ceeb toom rau tus thawj tswj hwm tus password thaum koj sim txuas koj lub cuab yeej rau lub server thawj zaug

Txuas mus rau OpenVPN Server Step 15
Txuas mus rau OpenVPN Server Step 15

Kauj Ruam 6. Sau koj cov ntaub ntawv siv

Nkag mus rau lub npe siv thiab tus lej nkag los ntawm VPN kev pabcuam thaum hais tawm. Koj tuaj yeem xaiv khaws ob qho ntaub ntawv hauv Keychain yog li koj tuaj yeem nkag mus tau yooj yim dua lwm zaus.

Txuas mus rau OpenVPN Server Step 16
Txuas mus rau OpenVPN Server Step 16

Kauj Ruam 7. Rub daim ntawv pov thawj (yog hais kom sai)

Tej zaum koj yuav raug hais kom rub daim ntawv pov thawj kev nyab xeeb thaum koj sim txuas koj lub cuab yeej rau lub server. Koj xav tau daim ntawv pov thawj txhawm rau txuas lub cuab yeej rau lub server.

Txoj Kev 3 ntawm 5: Linux

Txuas mus rau OpenVPN Server Step 17
Txuas mus rau OpenVPN Server Step 17

Kauj Ruam 1. Nruab OpenVPN tus thov kev pab

Koj xav tau tus neeg siv los txuas rau OpenVPN server. Feem ntau ntawm Linux tuaj yeem rub tawm OpenVPN tus thov kev pab ntawm lub chaw cia khoom. Cov lus qhia hauv qab no siv rau ob qho tib si Ubuntu thiab Debian version ntawm Linux. Cov txheej txheem rau ua li ntawd zoo ib yam rau lwm cov qauv ntawm Linux ib yam.

Qhib Terminal, tom qab ntawv sudo apt-tau nruab openvpn. Nkag mus rau tus thawj tswj tus password kom pib teeb tsa

Txuas mus rau OpenVPN Server Step 18
Txuas mus rau OpenVPN Server Step 18

Kauj Ruam 2. Rub koj li VPN cov ntaub ntawv teeb tsa kev pabcuam

Feem ntau VPN cov kev pabcuam muab cov ntaub ntawv teeb tsa rau OpenVPN. Cov ntaub ntawv teeb tsa xav tau rau OpenVPN txuas rau VPN cov kev pabcuam. Koj tuaj yeem pom cov ntaub ntawv teeb tsa los ntawm nplooj ntawv txhawb nqa ntawm VPN kev pabcuam koj siv.

Cov ntaub ntawv teeb tsa feem ntau tau ntim hauv ZIP cov ntawv khaws cia. Sim rho cov ntaub ntawv mus rau hauv phau ntawv teev npe nkag tau yooj yim

Txuas mus rau OpenVPN Server Step 19
Txuas mus rau OpenVPN Server Step 19

Kauj Ruam 3. Pib OpenVPN los ntawm Terminal

Rov qab mus rau Terminal. Yog tias cov ntaub ntawv rho tawm yog nyob hauv Tsev directory, koj tsis tas yuav hloov chaw. Yog tias cov ntaub ntawv raug rho tawm mus rau lwm cov npe, nkag mus rau hauv cov npe ntawd siv Terminal. Nkag mus rau cov lus txib hauv qab no kom pib OpenVPN:

openvpn --config configFile.ovpn

Txuas mus rau OpenVPN Server Step 20
Txuas mus rau OpenVPN Server Step 20

Kauj Ruam 4. Sau koj cov ntaub ntawv siv

Koj yuav raug nug kom nkag mus rau VPN username thiab password. Koj tau txais cov ntaub ntawv no thaum koj tso npe siv VPN kev pabcuam. Tus password yuav tsis tshwm thaum koj ntaus nws.

Txuas mus rau OpenVPN Server Step 21
Txuas mus rau OpenVPN Server Step 21

Kauj Ruam 5. Tos kom txog thaum koj tau txuas nrog

Koj yuav pom Terminal hloov kho qhov xwm txheej sib txuas. Tos kom txog thaum koj pom cov lus "Initialization Sequence Completed", tom qab ntawd koj tau txuas nrog.

Txoj kev 4 ntawm 5: Android

Txuas mus rau OpenVPN Server Step 22
Txuas mus rau OpenVPN Server Step 22

Kauj Ruam 1. Rub tawm OpenVPN Txuas app

Lub app yog tus nom OpenVPN tus thov rau Android. Koj tuaj yeem rub nws dawb los ntawm Google Play Store. Daim ntawv thov tsis xav tau kev nkag mus hauv paus ntawm lub cuab yeej siv.

Txuas mus rau OpenVPN Server Step 23
Txuas mus rau OpenVPN Server Step 23

Kauj Ruam 2. Rub cov ntaub ntawv teeb tsa thiab daim ntawv pov thawj rau VPN kev pabcuam koj tab tom siv

Koj tuaj yeem pom cov ntaub ntawv teeb tsa ntawm koj li VPN kev pabcuam nplooj ntawv txhawb nqa. Koj yuav xav tau Daim Ntawv Thov Tus Thawj Coj los qhib cov ntawv thiab rho tawm nws.

Txuas mus rau OpenVPN Server Step 24
Txuas mus rau OpenVPN Server Step 24

Kauj Ruam 3. Coj mus rhaub cov ntawv teeb tsa rub tawm

Xaiv OpenVPN thaum koj tau txais kev tshoov siab kom xaiv daim ntawv thov siv los qhib cov ntawv.

Txuas mus rau OpenVPN Server Step 25
Txuas mus rau OpenVPN Server Step 25

Kauj Ruam 4. Sau koj cov ntaub ntawv siv

Koj yuav tsum sau koj lub npe siv thiab tus lej nkag mus ntawm tus ID nkag mus. Coj mus rhaub rau lub pob "Txuag" kom yooj yim nkag mus rau lwm lub sijhawm.

Txuas mus rau OpenVPN Server Step 26
Txuas mus rau OpenVPN Server Step 26

Kauj Ruam 5. Coj mus rhaub "Txuas" txuas lub cuab yeej nrog VPN server

Lub cuab yeej Android yuav siv cov ntawv teeb tsa los txuas rau VPN server. Koj tuaj yeem lees paub tias txheej txheem ua tiav los ntawm kev txheeb xyuas koj tus IP chaw nyob. Tus IP chaw siv yuav tsum yog qhov chaw nyob ntawm VPN server, tsis yog koj tus IP tiag.]

Txoj kev 5 ntawm 5: iPhone, iPad thiab iPod Touch

Txuas mus rau OpenVPN Server Step 27
Txuas mus rau OpenVPN Server Step 27

Kauj Ruam 1. Rub tawm OpenVPN Txuas app

Koj tuaj yeem rub nws dawb los ntawm iOS App Store.

Txuas mus rau OpenVPN Server Step 28
Txuas mus rau OpenVPN Server Step 28

Kauj Ruam 2. Rub tawm VPN teeb tsa cov ntaub ntawv siv lub khoos phis tawj

Koj yuav tsum xa email cov ntaub ntawv teeb tsa ntawm koj lub computer rau koj tus kheej (email). Txoj kev ntawd, koj tuaj yeem nkag mus saib cov ntaub ntawv no los ntawm koj lub cuab yeej iOS. Rub tawm cov ntawv teeb tsa los ntawm koj li VPN kev pabcuam nplooj ntawv txhawb nqa. Tsis txhob hnov qab rho cov ntawv ua ntej yog tias cov ntaub ntawv khaws tseg hauv ZIP lossis RAR hom.

Txuas mus rau OpenVPN Server Step 29
Txuas mus rau OpenVPN Server Step 29

Kauj Ruam 3. Email cov ntaub ntawv teeb tsa rau koj tus kheej

Tsim email tshiab hauv koj lub computer. Suav nrog OpenVPN cov ntaub ntawv teeb tsa ua cov ntawv txuas. Xa cov lus koj tus kheej kom koj tuaj yeem qhib nws siv koj lub cuab yeej iOS.

Txuas mus rau OpenVPN Server Step 30
Txuas mus rau OpenVPN Server Step 30

Kauj Ruam 4. Qhib Mail app, tom qab ntawd coj mus rhaub cov ntawv teeb tsa txuas nrog

Qhib cov lus koj xa ua ntej, tom qab ntawd coj mus rhaub cov ntawv teeb tsa uas koj xav siv. Xaiv "Qhib hauv OpenVPN".

Txuas mus rau OpenVPN Server Step 31
Txuas mus rau OpenVPN Server Step 31

Kauj Ruam 5. Nyem rau "+" khawm ntawm OpenVPN app, tom qab ntawd nkag mus rau koj cov ntaub ntawv siv

Koj yuav tsum tau txais cov ntaub ntawv siv thaum koj sau npe siv VPN kev pabcuam.

Txuas mus rau OpenVPN Server Step 32
Txuas mus rau OpenVPN Server Step 32

Kauj Ruam 6. Txuas lub cuab yeej rau hauv VPN server

Koj yuav raug hais kom tso cai OpenVPN txhawm rau qhib VPN kev sib txuas. Muab kev tso cai rau app txuas ntxiv mus.

Pom zoo: