借鉴崔庆才大佬的文章以及github。 https://www.zhihu.com/search?type=content&q=adsl%E6%8B%A8%E5%8F%B7%E4%BB%A3%E7%90%86%E6%B1%A0 https://github.com/Python3WebSpider/AdslProxy 开启squid服务的时候,如果 sudo service squid start Redirecting to /bin/systemctl start squid.service 需要去 /bin 目录下 执行 systemctl start squid.service即可