Simple configuration of installing squid as an intranet Proxy server (Proxy) in Ubuntu

Source: Internet
Author: User
Ubuntu installs squid as the Proxy of the intranet. I have a machine named UbuntuLinux, which has a wireless network card and can be used on the Internet. I want to set it as a proxy server so that other machines in the intranet can use it as a proxy for Internet access. 1. install squid in Ubuntu as the Proxy of the intranet. I have a Ubuntu Linux machine that has a wireless network card and can access the Internet. I want to set it as a proxy server so that other machines in the intranet can use it as a proxy for Internet access. 1. install squid [python] aborn @ aborn-lisp on Ubuntu Linux :~ $ Sudo apt-get install squid 2. after installation, the agent is automatically started. if the default configuration is used, set the proxy on another machine (this is my setting proxy on Chrome). the following problems are found in the test: 3. it seems that you do not have the Access permission to configure squid to edit the file squid. conf [python] aborn @ aborn-lisp :~ $ Sudo vi/etc/squid. conf 4. remove the following 676 line comment to allow access to localnet: [python] 673 # Example rule allowing access from your local networks. 674 # Adapt localnet in the ACL section to list your (internal) IP networks 675 # from where browsing shoshould be allowed 676 http_access allow localnet 677 http_access allow localhost 5. restart squid [python] aborn @ aborn-lisp :~ $ Sudo/etc/init. d/squid restart 6. then you can access the Internet on another machine !!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.