linux/ubuntu 设置代理服务器

https://blog.csdn.net/shorile/article/details/79020927

使用的tinnyproxy 服务,
配置很简单,

  1. 安装
apt-get install tinyproxy
  1. 配置文件
    编辑配置/etc/tinyproxy/tinyproxy.conf,找到Allow 127.0.0.1行,前面加上#号将其注释掉。
  2. 重启tinny proxy服务:
service tinnyproxy restart

服务器端的配置就完成了

使用:
以搜狗浏览器为例配置代理:
默认的端口为8888

2020年2月5日,更新

tinyproxy不是很稳定,服务开启一段时间后就失效了,会造成内存泄漏等奇怪问题.

更换了另一种代理工具:squid
https://blog.csdn.net/vanvan_/article/details/90679369

原文地址:https://www.cnblogs.com/qianxunman/p/12253098.html