首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >帮助建立匿名代理!

帮助建立匿名代理!
EN

Ask Ubuntu用户
提问于 2016-11-04 23:21:27
回答 1查看 373关注 0票数 0

所以我有一个VPS,有大约20个不同的IP地址。我安装了squid3,它正在工作。问题是,当我在网上搜索“我的ip是什么”时,出现的IP就是VPS ip。我想要实现的是,每次我向服务器发送请求时,它都会切换网络接口,所以如果我执行相同的搜索查询,它每次都会显示不同的IP。

我不知道这是否可能。所以有人能帮我吗。操作系统为Ubuntu14.04兆瓦。

EN

回答 1

Ask Ubuntu用户

发布于 2016-11-05 01:26:43

这是可能的,你将不得不分担20个即将离任的It的负载。

信息可以在这里找到。链接

在你的鱿鱼配置中,像这样的东西应该能工作.

代码语言:javascript
复制
acl r_20 random 1/20
acl r_19 random 1/19
acl r_18 random 1/18
acl r_17 random 1/17
acl r_16 random 1/16
acl r_15 random 1/15
acl r_14 random 1/14
acl r_13 random 1/13
acl r_12 random 1/12
acl r_11 random 1/11
acl r_10 random 1/10
acl r_9 random 1/9
acl r_8 random 1/8
acl r_7 random 1/7
acl r_6 random 1/6
acl r_5 random 1/5
acl r_4 random 1/4
acl r_3 random 1/3
acl r_2 random 1/2
acl r_1 random 1/1

tcp_outgoing_address x.x.0.20 r_20
tcp_outgoing_address x.x.0.19 r_19
tcp_outgoing_address x.x.0.18 r_18
tcp_outgoing_address x.x.0.17 r_17
tcp_outgoing_address x.x.0.16 r_16
tcp_outgoing_address x.x.0.15 r_15
tcp_outgoing_address x.x.0.14 r_14
tcp_outgoing_address x.x.0.13 r_13
tcp_outgoing_address x.x.0.12 r_12
tcp_outgoing_address x.x.0.11 r_11
tcp_outgoing_address x.x.0.10 r_10
tcp_outgoing_address x.x.0.9 r_9
tcp_outgoing_address x.x.0.8 r_8
tcp_outgoing_address x.x.0.7 r_7
tcp_outgoing_address x.x.0.6 r_6
tcp_outgoing_address x.x.0.5 r_5
tcp_outgoing_address x.x.0.4 r_4
tcp_outgoing_address x.x.0.3 r_3
tcp_outgoing_address x.x.0.2 r_2
tcp_outgoing_address x.x.0.1 r_1
票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/845680

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档