Linux Squid Proxy server access to Google error

Source: Internet
Author: User
Tags squid proxy

Linode VPS, using squid to build a proxy, after loading, found that Facebook can be on, YouTube can also, but Google prompted errors, as follows

We ' re sorry ... but your computer or network may is sending automated. To protect we are users, we can ' t process your request right now

Looking for a long time on the internet, finally found a solution.

Method One: Edit/etc/sysctl.conf, add the following


Net.ipv6.conf.all.disable_ipv6=1
Net.ipv6.conf.default.disable_ipv6=1
Net.ipv6.conf.lo.disable_ipv6=1
Reboot network card

#/etc/init.d/networking Restart

Method two, immediate effect


echo ' 1 ' >/proc/sys/net/ipv6/conf/lo/disable_ipv6
echo ' 1 ' >/proc/sys/net/ipv6/conf/lo/disable_ipv6
echo ' 1 ' >/proc/sys/net/ipv6/conf/all/disable_ipv6
echo ' 1 ' >/proc/sys/net/ipv6/conf/default/disable_ipv6

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.