Cov txheej txheem:

Teeb Web Cov Ntsiab Lus Lim hauv 4 Cov Kauj Ruam Nrog Ubuntu: 5 Kauj Ruam
Teeb Web Cov Ntsiab Lus Lim hauv 4 Cov Kauj Ruam Nrog Ubuntu: 5 Kauj Ruam

Video: Teeb Web Cov Ntsiab Lus Lim hauv 4 Cov Kauj Ruam Nrog Ubuntu: 5 Kauj Ruam

Video: Teeb Web Cov Ntsiab Lus Lim hauv 4 Cov Kauj Ruam Nrog Ubuntu: 5 Kauj Ruam
Video: Yuav ua li cas kom tau nyiaj ntau zuj zus los ntawm kev ua hauj lwm? 2024, Hlis ntuj nqeg
Anonim
Teeb Web Cov Ntsiab Lus Lim hauv 4 Cov Kauj Ruam Nrog Ubuntu
Teeb Web Cov Ntsiab Lus Lim hauv 4 Cov Kauj Ruam Nrog Ubuntu

Raws li tus txiv neej IT, ib qho ntawm cov neeg ua haujlwm feem ntau nug kuv yog lawv yuav tswj hwm qhov chaw twg lawv cov menyuam tuaj yeem nkag tau online. Nov yog qhov yooj yim heev ua thiab pub dawb siv Ubuntu linux, dansguardian thiab me me proxy.

Kauj ruam 1: Nruab Software

Nruab Software
Nruab Software

Hauv Ubuntu lub davhlau ya nyob twg, muab cov lus txib no:

$ sudo apt-tau nruab me me proxy dansguardian Thaum hais kom sai, nkag mus rau koj tus lej nkag hauv paus thiab paub meej tias rub tawm.

Kauj Ruam 2: Kho Cov Ntawv Thov

Kho cov ntawv thov
Kho cov ntawv thov

Koj yuav tsum teeb tsa ob qho ntawm cov ntawv thov tshiab no ua ntej lawv yuav ua haujlwm, tab sis qhov ntawd yooj yim heev. Los ntawm lub davhlau ya nyob twg: $ sudo nano -c /etc/dansguardian/dansguardian.confComment tawm kab 3 (Muab tus # nyob rau pem hauv ntej ntawm lo lus "UNCONFIGURED"), Kab 62 yuav tsum nyeem: filterport = 8080 thiab kab 65 yuav tsum nyeem: proxyport = 3128ctrl +x kom tawm, txuag rau thawj lub npe cov ntaub ntawv. Tam sim no peb yuav hloov me me proxy.conf (hauv lub davhlau ya nyob twg): $ sudo nano -c /etc/tinyproxy/tinyproxy.confline 15 yuav tsum nyeem: Chaw nres nkoj = 3128

Kauj Ruam 3: Pib Cov Kev Pabcuam

Pib Cov Kev Pabcuam
Pib Cov Kev Pabcuam

Thaum kawg peb yuav tsum tau pib cov kev pabcuam. Ib zaug ntxiv hauv lub davhlau ya nyob twg, muab cov lus txib hauv qab no:

$ sudo /etc/init.d/dansguardian pib $ sudo /etc/init.d/tinyproxy pib

Kauj Ruam 4: Kho Koj Lub Khoos Phis Tawj Cov Neeg Siv Khoom

Kho koj Cov Neeg Siv Khoom Khoos phis tawj
Kho koj Cov Neeg Siv Khoom Khoos phis tawj

Txhua yam uas tseem tshuav los ua tam sim no yog teeb tsa koj cov neeg siv khoom los txuas los ntawm koj tus neeg sawv cev. Siv tus thawj tswj hwm nyiaj thiab qee qhov kev sau npe kho, koj tuaj yeem tiv thaiv cov kev hloov pauv no los ntawm kev ua tsis tau tiav thaum lawv tau teeb tsa. Txoj hauv kev no koj tseem tuaj yeem ua tsis tiav kev siv internet los ntawm koj cov khoos phis tawj los ntawm kev siv ib qho kev pabcuam ntawm Ubuntu lub thawv. Kuv yuav cia koj xam qhov ntawd tawm, nws txawv ntawm kev ua haujlwm mus rau kev ua haujlwm. Nov yog yuav ua li cas teeb tsa koj cov neeg siv web browsers rau proxies:

Hauv Firefox (Windows): Cov Cuab Yeej Xaiv Advanced Network Tab - Nyem "Chaw" khawm hauv cheeb tsam txuas. Nyem "Manual Proxy Configuration", hauv "HTTP Proxy" nkag mus rau tus IP chaw lossis tus tswv tsev ntawm koj tus neeg rau zaub mov npe. Hauv "Port" teb, nkag mus rau 8080. Nyem "Siv tus neeg rau npe no rau txhua txoj cai". Nyem Ok txhawm rau thov teeb tsa, thiab thov nplooj ntawv. Internet Explorer 7: ToolsOptionsConnections TabLan Settings khawm Txheeb lub cim cim "Siv tus neeg rau zaub mov npe …", nyem "Advanced". Hauv HTTP teb, ntaus IP Address lossis Hostname ntawm koj Tus Neeg Sawv Cev Npe, thiab hauv Chaw Nres Nkoj, ntaus hauv 8080. Nyem "OK" 3 zaug thiab sim koj qhov kev sib txuas. Txhawm rau kuaj seb peb puas tau ua txhua yam yog, sim mus rau www.google.com. Yog tias koj raug tso cai los ntawm, zoo. Tam sim no sim mus rau www.badboys.com. Los ntawm lub neej ntawd lub xaib no raug thaiv, thiab ua qhov kev sim zoo.

Kauj Ruam 5: Piav Qhia Cov Kauj Ruam thiab Kho Kom Zoo Dua

Kev piav qhia ntawm Cov Kauj Ruam thiab Kev Kho Kom Zoo Dua
Kev piav qhia ntawm Cov Kauj Ruam thiab Kev Kho Kom Zoo Dua

Kuv ntxub nws thaum yuav tos koj li cas yam tsis nkag siab txog yam koj nyuam qhuav ua. Hais tias, ntawm no yog cov lus piav qhia yooj yim: Kauj ruam ib qho teeb tsa ob lub apps peb yuav siv. Dansguardian yog siv rau lim lub vev xaib. Nws yog lub lim lim uas tau teeb tsa uas siv ntau txoj hauv kev sib txawv los tso cai/tsis kam nkag mus rau cov vev xaib. Koj tuaj yeem muaj lub hauv paus-tsis kam lees (whitelist) teeb tsa qhov twg tsuas yog xaiv ob peb lub vev xaib raug tso cai, lossis koj tuaj yeem mus nrog qhov txwv tsis pub dhau ua ntej-tso cai (blacklist) qauv qhov chaw tshwj xeeb raug thaiv los ntawm URL lossis los ntawm cov lus hnyav. Qhov no ib qho ntawm software tau muag kuv lub tuam txhab ntawm qhov qhib, nws tau sau zoo heev thiab ntseeg tau. Tinyproxy muab cov npe server ua haujlwm uas yuav ua tus cuam tshuam nruab nrab ntawm dansguardian thiab internet. Hauv qib 2 peb tau hais rau dansguardian qhov chaw nres nkoj twg los mloog (los ntawm koj cov neeg siv-chaw nres nkoj 8080) thiab yog tias qhov kev thov raug pom zoo, qhov chaw nres nkoj twg yuav dhau qhov kev thov nrog rau cov ntawv me me ntawm (3128). Kuj nyob rau theem 2 peb ua kom ntseeg tau tias Tinyproxy tau mloog ntawm chaw nres nkoj 3128. Peb pib ob qho kev pabcuam thawj zaug hauv qib 3, thiab teeb tsa cov neeg siv khoom hauv kauj ruam 4. Txoj kev teeb tsa ntawm Dansguardian: dansguardian.conf - Los ntawm no koj teeb tsa ntiaj teb kev hloov pauv xws li cov naj npawb chaw nres nkoj, cov hloov pauv los khi rau, thiab lwm yam.dansguardianf1.conf - Cov ntaub ntawv no tuav cov chaw rau lim pawg 1, thiab tuaj yeem theej thiab theej cov ntawv hloov pauv yog tias siv ntau pawg lim. Nov kuj tseem yog qhov uas koj yuav hloov qhov "txwv tsis pub ua phem" ntawm cov pab pawg lim lim. Qhov kev pom zoo teeb tsa rau qhov sib txawv no zoo li no - 50 rau cov menyuam yaus, 100 rau menyuam yaus, 160 rau cov neeg hluas. Kev teeb tsa lub neej ntawd yog 50.bannedsitelist - qhov uas koj yuav txwv txhua qhov chaw xws li piv txwv.combannedurllist - qhov twg koj yuav txwv qhov URLs tshwj xeeb xws li piv txwv.com/~user/index.htmbannedphraselist - tso cai rau koj qhia cov kab lus uas yuav raug luam tawm rau hauv txhua nplooj ntawv thov, xws li "Potty Humor" qhov no muaj txiaj ntsig yog tias muaj qee yam tshwj xeeb uas tseem ua rau nws dhau los tom qab lim tau teeb tsa.bannediplist - rau kev txwv tag nrho ntawm lub xaib, qhia tus IP chaw nyob. Qhov no tuaj yeem ua rau tsis muaj txiaj ntsig zoo li qee qhov chaw sib koom IPs nrog lwm qhov chaw.exceptioniplist - rau cov npe teev npe dawb - tso cai tshwj xeeb IPsexceptionsitelist - rau cov npe teev npe dawb - tso cai rau cov chaw tshwj xeeb xws li piv txwv. Piv txwv.com/~user/index.htmexceptionphraselist - zam cov nqe lus tshwj xeeb yog tias lawv raug txwv tsis tas siv cov ntaub ntawv no koj tuaj yeem hloov kho koj lub lim dej kom haum rau koj cov kev xav tau, koj tseem tuaj yeem hloov kho cov nplooj ntawv tsis pom zoo nrog koj lub tuam txhab logo, lossis tso tawm cov lus ntiag tug Qhia rau koj cov menyuam kom rov qab mus ua haujlwm! Muaj ntau qhov kev teeb tsa sib txawv nrog Dansguardian uas txuas ntxiv ua haujlwm tau zoo heev. Cov txheej txheem txuas ntxiv-raws qhov xwm txheej ntawm dansguardian ua rau nws muaj ntau yam, hloov pauv tau thiab tsim khoom tau zoo, thiab cov software thib peb muaj los teeb txheeb cais, txheeb xyuas cov ntaub ntawv log thiab ua kom tswj tau yooj yim dua. Kuv txhawb koj kom mus rau www.dansguardian.org thiab saib mus rau txhua qhov muaj peev xwm ntawm cov software zoo no. Thov xa xov rau kuv lossis tawm tswv yim txog cov lus qhia no yog tias koj muaj lus nug lossis lus pom.

Pom zoo: