去发现生活中的美好,记录生活中的点点滴滴

搭建IP代理服务器(Ubuntu)

linux admin 827℃

更新apt

apt-get update

安装IP代理服务软件tinyproxy

apt-get install tinyproxy

修改配置:

vim /etc/tinyproxy.conf

修改端口号:

Port 8888

开放权限:

#Allow 127.0.0.1 #将127.0.0.1注释掉,允许所有IP访问代理
或添加允许指定IP使用代理IP

重启:

systemctl restart tinyproxy

测试

curl -x http://代理服务器IP:8888/  www.baidu.com

转载请注明:永盟博客 » 搭建IP代理服务器(Ubuntu)

喜欢 (8)

Warning: count(): Parameter must be an array or an object that implements Countable in E:\www\blog\wp-includes\class-wp-comment-query.php on line 405