Een proxyserver is een tussenpersoon tussen twee netwerkaansluitingen . In tegenstelling tot rechtstreekse aansluiting computer " X " op de computer "Z ", ze communiceren via de computer "Y ", een proxy . Dit type aansluiting wordt gebruikt voor het scannen op virussen , identiteit te beschermen en te omzeilen geblokkeerde web content , zoals social media sites , op de openbare verbindingen Internet . U kunt snel opzetten van een proxy in Ubuntu Linux met behulp van ingebouwde hulpmiddelen . Instructies 1 Open een Terminal ( Toepassingen , accessoires , Terminal ) en typ " sudo apt - get install squid squid -common " om Squid proxy- server te installeren . Kopen van 2 type " sudo vi /etc /squid /squid.conf " om Squid's configuratiebestand te openen . Type " acl internal_network src 192.168.0.0/24 http_access toestaan internal_network " (ter vervanging van 192.168.0.0/24 met uw IP range ) in het bestand en sla het op . Type " sudo chown - R proxy : proxy /var /log /squid / sudo chown proxy : proxy /etc /squid /squid.conf " in Terminal om machtigingen in te stellen . Type " sudo /etc /init.d /squid herstart " om Squid herstarten voordat u verder gaat . 3 Open een webbrowser en stel uw Squid proxy op poort 3128 . Type " sudo aptitude install squid squid -common apache2 - utils " in Terminal om Apache authenticatie software te installeren . Typ het volgende in Terminal om authenticatie parameters instellen: " auth_param basisprogramma /usr /lib /squid /ncsa_auth /etc /squid.passwd auth_param elementaire kinderen 5 auth_param elementaire rijk NFYE Squid proxy - caching webserver auth_param basic credentialsttl 3 uur auth_param elementaire CaseSensitive off acl gebruikers proxy_auth VEREIST acl sectionx proxy_auth VEREISTE http_access gebruikers toestaan " U kunt nu uw proxy draaien .
|