5 Txoj Hauv Kev Txuas rau OpenVPN Server

Cov txheej txheem:

5 Txoj Hauv Kev Txuas rau OpenVPN Server
5 Txoj Hauv Kev Txuas rau OpenVPN Server

Video: 5 Txoj Hauv Kev Txuas rau OpenVPN Server

Video: 5 Txoj Hauv Kev Txuas rau OpenVPN Server
Video: Yeeb Yaj Kiab Khixatia | "Lub Cub Thee Nchuav Nyiaj Cov Nplaim Taws"(Cov Yeeb Yaj Kiab Piv Txwv) 2024, Plaub Hlis Ntuj
Anonim

Virtual Private Networks (VPNs) tau nce hauv qhov muaj koob npe raws li ntau thiab ntau tus neeg siv nrhiav kev tsis qhia npe online. OpenVPN yog ib qho ntawm VPN nrov tshaj plaws kev daws teeb meem. Nws yog sib xws nrog ntau lub tshuab ua haujlwm. Koj yuav xav tau tus neeg tshwj xeeb txhawm rau txuas rau OpenVPN server. Koj tseem yuav xav tau cov ntaub ntawv teeb tsa los ntawm koj tus muab kev pabcuam VPN.

Cov 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 OpenVPN tus thov kev teeb tsa

Koj yuav tsum tau siv qhov program sib txuas hu ua "tus neeg siv khoom". Tus neeg siv khoom ua haujlwm sib txuas ntawm koj lub khoos phis tawj thiab OpenVPN server. Koj tuaj yeem rub tawm tus neeg siv khoom los ntawm no. Siv qhov "Installer" rub tawm txuas uas phim koj li Windows version.

Koj yuav tsum paub yog tias koj tab tom khiav 32-ntsis lossis 64-ntsis version ntawm Windows. Nias ⊞ Yeej+ncua thiab saib rau "System type" nkag

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

Kauj ruam 2. Khiav lub installer

Khiav OpenVPN installer tom qab rub tawm nws. Paub meej tias koj xav khiav nws. Ua raws cov lus qhia kom mus txuas ntxiv, thiab tawm tag nrho cov kev teeb tsa ntawm lawv lub neej ntawd. Txhua qhov kev pabcuam tsim nyog yuav raug teeb tsa kom OpenVPN tuaj yeem ua haujlwm tau zoo.

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

Kauj Ruam 3. Rub cov ntaub ntawv teeb tsa rau tus neeg rau zaub mov

Txhua tus neeg rau zaub mov uas tab tom qhib OpenVPN yuav tsum muab rau koj nrog teeb tsa cov ntaub ntawv teeb tsa. Ib ntawm cov ntaub ntawv tuaj yeem yog daim ntawv pov thawj kev nyab xeeb. Lwm cov ntaub ntawv yuav muaj cov ntaub ntawv rau server. Tej zaum yuav muaj ntau cov ntaub ntawv teeb tsa server yog tias koj qhov kev pabcuam VPN muaj ntau tus servers.

  • Koj tuaj yeem pom cov ntaub ntawv teeb tsa ntawm koj li VPN kev pabcuam nplooj ntawv txhawb nqa. Cov ntaub ntawv teeb tsa tuaj yeem ntim hauv ZIP cov ntaub ntawv.
  • Yog tias koj tsis tuaj yeem pom cov ntaub ntawv teeb tsa, koj tseem tuaj yeem txuas tau. Saib Kauj Ruam 9 ntawm ntu no.
Txuas mus rau OpenVPN Server Step 4
Txuas mus rau OpenVPN Server Step 4

Kauj Ruam 4. Luam cov ntaub ntawv teeb tsa mus rau qhov tsim nyog

Luam tus yuam sij thiab cov ntawv teeb tsa (s) rau C: / Program Files / OpenVPN / config nplaub tshev rau OpenVPN. Tej zaum nws yuav nyob ntawm C: / Program Files (x86) OpenVPN / config hloov chaw.

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

Kauj Ruam 5. Nyem rau ntawm OpenVPN shortcut thiab xaiv "Run as administrator"

Koj yuav tsum khiav OpenVPN ua tus thawj coj.

Nco ntsoov tias OpenVPN tseem tsis tau pib ua ntej pib nws li no

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

Kauj Ruam 6. Txoj cai-nias ntawm lub cim OpenVPN hauv koj li System Tais

Koj yuav pom cov npe ntawm cov servers raws li cov ntaub ntawv uas koj tau theej rau hauv OpenVPN teeb tsa nplaub tshev.

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

Kauj Ruam 7. Xaiv tus server uas koj xav tau thiab nyem "Txuas"

Koj yuav raug hais kom nkag mus rau koj tus username thiab password rau server. Koj tau txais cov ntawv pov thawj no thaum koj kos npe rau VPN kev pabcuam.

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

Kauj Ruam 8. Paub meej tias koj tau txuas nrog

Koj yuav pom cov ntawv ceeb toom tshwm qhia tias koj tau txuas nrog VPN server. Tam sim no koj cov kev siv internet yuav raug xa los ntawm VPN.

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

Kauj Ruam 9. Txuas rau VPN yam tsis muaj teeb tsa cov ntaub ntawv

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

  • Pib Qhib OpenVPN thiab nkag mus rau tus IP chaw lossis tus tswv lub npe ntawm tus neeg rau zaub mov.
  • Sau koj tus username thiab password thaum hais kom sai.
  • Xaiv koj qhov profile yog 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 yuav xav tau ib txoj haujlwm hu ua "tus neeg siv khoom" los txuas. Lub koom haum 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 tawm Tunnelblick ntawm no. Xaiv qhov txuas "Tseeb" txhawm rau rub tawm lub installer.

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

Kauj ruam 2. Nyem ob npaug rau rub tawm lub installer

Qhov no yuav qhib lub qhov rai tshiab. Txoj cai-nias 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 koj li VPN cov ntaub ntawv teeb tsa

Txhua qhov kev pabcuam OpenVPN yuav tsum muaj cov ntaub ntawv teeb tsa muaj los rub tawm. Cov no teeb tsa Tunnelblick yooj yim dua. Koj tuaj yeem rub tawm cov ntawv los ntawm koj li VPN 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 thaum koj tau rub tawm cov ntawv. Koj yuav raug ceeb toom kom xaiv koj cov ntaub ntawv teeb tsa tshiab ua ntej tus neeg siv khoom tuaj yeem pib. Nyem "Kuv muaj cov ntaub ntawv teeb tsa" thiab tom qab ntawd xaiv "OpenVPN Configuration (s)". Yog tias cov ntaub ntawv tshwj xeeb rau Tunnelblick, xaiv "Tunnelblick VPN Configuration (s)" hloov chaw.

  • Xaiv "Qhib Tus Kheej Configurations Folder". Qhov no yuav qhib qhov tshiab finder window.
  • Luag thiab poob tag nrho koj cov ntaub ntawv teeb tsa rau hauv daim nplaub tshev uas qhib.
Txuas mus rau OpenVPN Server Step 14
Txuas mus rau OpenVPN Server Step 14

Kauj Ruam 5. Nyem lub cim Tunnelblick hauv koj lub tshuab raj

Xaiv tus server kom txuas rau nws.

Koj yuav raug ceeb toom rau koj tus thawj tswj hwm tus lej thawj zaug uas koj txuas rau lub server

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

Kauj Ruam 6. Sau koj daim ntawv pov thawj

Nkag mus rau lub npe siv tus lej zais koj tau muab los ntawm VPN kev pabcuam thaum hais tawm. Koj tuaj yeem xaiv khaws cov no rau koj li Keychain kom nkag tau yooj yim dua.

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 txuas mus rau lub server. Koj yuav xav tau daim ntawv pov thawj no los txuas.

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 yuav xav tau tus neeg siv khoom txhawm rau txuas rau OpenVPN servers. Feem ntau kev faib khoom muaj OpenVPN tus neeg siv khoom muaj los ntawm cov chaw cia khoom. Cov lus qhia hauv qab no yog rau Ubuntu thiab lwm yam kev faib Debian. Cov txheej txheem zoo ib yam rau lwm tus.

Qhib Terminal thiab ntaus sudo apt-tau nruab openvpn. Nkag mus rau koj tus thawj tswj hwm tus password kom pib txhim kho

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

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

Feem ntau VPN cov kev pabcuam yuav muab cov ntaub ntawv teeb tsa rau OpenVPN. Cov ntaub ntawv no tsim nyog rau OpenVPN txuas rau VPN kev pabcuam. Koj tuaj yeem nrhiav cov ntaub ntawv no ntawm nplooj ntawv pabcuam.

Cov ntaub ntawv feem ntau yuav los hauv ZIP archive. Luam cov ntaub ntawv mus rau daim nplaub tshev 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 lub davhlau ya nyob twg

Rov qab mus rau Terminal. Yog tias koj rho cov ntaub ntawv mus rau koj phau ntawv teev npe Tsev, koj yuav tsum tsis txhob hloov chaw. Yog tias koj rho cov ntaub ntawv mus rau lwm cov npe, mus rau nws hauv 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 daim ntawv pov thawj

Koj yuav raug ceeb toom rau koj li VPN username thiab password. Koj tau txais cov ntawv pov thawj no thaum koj kos npe rau VPN kev pabcuam. Koj 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 ntawm kev sib txuas. Thaum koj pom cov lus "Initialization Sequence Completed", 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

Nov yog tus nom OpenVPN tus thov rau Android. Nws tuaj yeem rub tawm dawb los ntawm Google Play Store. Nws tsis xav tau lub hauv paus nkag rau koj lub cuab yeej.

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 koj li VPN

Koj yuav tsum muaj peev xwm nrhiav cov ntaub ntawv no ntawm VPN kev pabcuam nplooj ntawv txhawb nqa. Koj yuav xav tau Tus Thawj Saib Xyuas Ntaub Ntawv thov qhib ZIP cov ntaub ntawv thiab rho tawm cov ntawv.

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 Txuas thaum hais kom lub app twg koj xav qhib cov ntawv nrog.

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

Kauj Ruam 4. Sau koj daim ntawv pov thawj

Koj yuav tsum tau sau koj lub npe siv thiab tus lej nkag mus rau lub vijtsam nkag mus. Coj mus rhaub lub npov "Txuag" kom nkag tau yooj yim dua lwm zaus.

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

Kauj Ruam 5. Coj mus rhaub "Txuas" txuas rau VPN

Koj lub cuab yeej Android yuav siv cov ntawv teeb tsa los txuas rau VPN server. Koj tuaj yeem txheeb xyuas qhov txheej txheem ua haujlwm los ntawm kev txheeb xyuas koj tus IP chaw nyob. Nws yuav tsum yog ntawm VPN server hloov pauv 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 tawm qhov no dawb los ntawm iOS App Store. Koj tsis tas yuav raug jailbroken los siv lub app.

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

Kauj Ruam 2. Rub tawm VPN cov ntaub ntawv teeb tsa ntawm koj lub computer

Koj yuav tsum xa email cov ntaub ntawv teeb tsa rau koj tus kheej los ntawm koj lub computer. Qhov no yuav tso cai rau koj nkag mus rau lawv los ntawm koj lub cuab yeej iOS. Rub tawm cov ntawv los ntawm koj li VPN kev pabcuam nplooj ntawv txhawb nqa. Tshem tawm lawv yog tias lawv nyob hauv ZIP lossis RAR hom.

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

Kauj Ruam 3. Xa cov ntaub ntawv teeb tsa rau koj tus kheej ntawm email

Pib ib tsab email tshiab ntawm koj lub computer. Txuas OpenVPN cov ntaub ntawv teeb tsa rau cov lus. Xa lawv mus rau koj tus kheej kom koj tuaj yeem qhib email ntawm koj lub cuab yeej iOS.

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

Kauj Ruam 4. Qhib koj li Mail app thiab coj mus rhaub cov ntawv teeb tsa txuas

Qhib cov lus uas koj tau xa rau koj tus kheej thiab 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 hauv OpenVPN app thiab sau koj cov ntaub ntawv pov thawj

Koj tau txais cov ntaub ntawv pov thawj nkag no thaum koj kos npe rau VPN kev pabcuam.

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

Kauj Ruam 6. Txuas rau VPN

Koj yuav raug ceeb toom kom tso cai OpenVPN kom muaj kev sib txuas VPN. Cia nws mus txuas ntxiv.

Pom zoo: