Yuav Teeb VPN Li Cas Rau Ntawm Linux

Cov txheej txheem:

Yuav Teeb VPN Li Cas Rau Ntawm Linux
Yuav Teeb VPN Li Cas Rau Ntawm Linux

Video: Yuav Teeb VPN Li Cas Rau Ntawm Linux

Video: Yuav Teeb VPN Li Cas Rau Ntawm Linux
Video: Anonymize Your Internet Connection For Free In Less Than 10 Minutes Using VPN on Ubuntu 2024, Hlis ntuj nqeg
Anonim

Niaj hnub no, virtual sib txuas raws VPN (Virtual Private Network) chav kawm thev naus laus zis tsis yog siv los npaj cov chaw muaj kev tiv thaiv zoo rau cov ntaub ntawv sib pauv los ntawm kev sib tw qhib, tab sis kuj yooj yim muab kev nkag mus rau hauv Internet. Hauv qhov no, txhua tus neeg siv uas hloov pauv tus neeg zov me nyuam tuaj yeem ntsib qhov xav tau teeb tsa VPN. Linux nws muaj nws tus kheej tshwj xeeb rau kev daws cov teeb meem no.

Yuav teeb VPN li cas rau ntawm Linux
Yuav teeb VPN li cas rau ntawm Linux

Tsim nyog

Lub hauv paus peev xwm

Cov Lus Qhia

Kauj ruam 1

Kuaj xyuas yog tias PPP puas muaj nyob rau hauv koj lub kemel operating system. Txoj hauv kev yooj yim los ua qhov no yog los ntawm saib cov txiaj ntsig ntawm cov kev xaiv nrog rau CONFIG_PPP ua ntej ntawm cov ntaub ntawv teev ntsiav tam sim no. Nws feem ntau yog ntsia rau hauv / boot directory thiab muaj lub npe pib nrog config. Tshawb nrhiav lub npe ntawm cov ntaub ntawv no siv cov lus txib

ls / khau raj

lossis

ls / boot | grep conf

Luam cov kab uas koj xav tau nrog miv, lim nrog grep. Piv txwv li:

miv / boot/config-2.6.30-std-def-alt15 | grep PPP

Txheeb cov kab uas muaj cov CONFIG_PPP, CONFIG_PPP_ASYNC, CONFIG_PPP_SYNC_TTY xaiv. Yog tias tsis muaj tus cim # # 2 nyob rau pem hauv ntej ntawm lawv, cov haujlwm coj ua raug txhawb nqa (rau qhov tseem ceeb ntawm m - nyob rau hauv daim ntawv ntawm lwm qhov qauv, rau qhov muaj nuj nqis ntawm y - nws muaj nyob hauv pob hauv qab).

Yuav teeb VPN li cas rau ntawm Linux
Yuav teeb VPN li cas rau ntawm Linux

Kauj ruam 2

Kuaj xyuas yog tias software software rau tsim kev txuas VPN tau raug teeb tsa hauv lub system. Cov pob uas tsim nyog feem ntau muaj ib lub npe pib nrog pptp. Siv apt-cache nrog cov kev tshawb nrhiav kom pom cov pob uas xav tau nyob hauv cov chaw khaws cia thiab rpm nrog -qa kev xaiv los kuaj seb lub pob puas raug teeb tsa. Thaum ua haujlwm hauv cov duab ib puag ncig, nws yuav raug txiav txim siab siv cov kev pabcuam xws li synaptic.

Yuav teeb VPN li cas rau ntawm Linux
Yuav teeb VPN li cas rau ntawm Linux

Kauj ruam 3

Nruab qhov software uas ploj lawm. Siv cov thawj tswj hwm pob khoom tsim nyog (apt-tau, rpm hauv console, synaptic hauv cov duab ib puag ncig, thiab lwm yam). Yog tias koj tau nruab lub pob ppp nrog kemel cov qauv los txhawb cov txheej txheem tsim nyog, rov pib kho koj lub computer.

Yuav teeb VPN li cas rau ntawm Linux
Yuav teeb VPN li cas rau ntawm Linux

Kauj ruam 4

Sim ua kom teeb tsa ntawm VPN siv kev teeb tsa ntawv sau xws li pptp-command lossis pptpsetup. Lawv feem ntau muaj nyob hauv VPN cov software software pob khoom. Txog kev pab ntawm cov kab hais kom ua tsis tau ntawm cov khoom siv no, siv lawv los khiav nrog - xaiv qhov kev xaiv. Piv txwv li:

pptpsetup - pab

Yog tias tsis muaj cov ntawv sau teeb tsa tau teeb tsa, txuas mus rau kauj ruam tom ntej txhawm rau txhim kho VPN.

Yuav teeb VPN li cas rau ntawm Linux
Yuav teeb VPN li cas rau ntawm Linux

Kauj ruam 5

Tsim cov ntawv qhia / lwm yam / ppp nrog cov ntawv sau npe chap-secrets. Qhib cov ntawv nyob rau hauv cov ntawv kho. Ntxiv ib txoj kab zoo li qhov no rau nws:

LOGIN SERVER PASSWORD *

LOGIN thiab PASSWORD muaj nuj nqis yog tus username thiab password. Lawv yuav tsum tau muab los ntawm koj tus muab kev pabcuam VPN. Hloov SERVER nrog kev ua yuam kev txuas lub npe lossis *.

Yuav teeb VPN li cas rau ntawm Linux
Yuav teeb VPN li cas rau ntawm Linux

Kauj Ruam 6

Tsim cov ntawv qhia chaw / lwm yam / ppp / phooj ywg. Tsim cov ntaub ntawv hauv nws uas muaj tib lub npe li tus nqi SERVER los ntawm cov kauj ruam dhau los (los yog lub npe hu ua arbitrary yog * tau teev tseg). Hloov kho cov ntaub ntawv no los ntxiv cov ntaub ntawv xws li:

pty "pptp SERVER --nolaunchpppd"

npe LOGIN

TUS TSWV YIM PAB

remotename SERVER

ntsuas phoo

noauth

nodeflate

nobsdcomp

LOGIN thiab SERVER qhov tseem ceeb ntawm no yog tib yam li hauv qib 5. Qhov no ua tiav VPN teeb tsa ntawm Linux.

Pom zoo: