S
S
Sergey2015-05-23 02:35:45
Squid
Sergey, 2015-05-23 02:35:45

How to host multiple proxies on one server?

Good day, I encountered the following:

Task: there is a Windows server on AWS, you need to connect a dozen Ukrainian IPs to it to work with websites through iMacros (automation of user actions on sites).

I implement it through a proxy, since it is the easiest to connect to each copy of the browser.

I bought a Ukrainian VPS on CentOS and connected several Ukrainian IPs to this VPS.
Lifted and adjusted Squid, authorization on IP and "Elite".

Further in Squid, I set up forwarding to the same ip that AWS comes to:
acl ip01 myip 88.112.11.12
acl ip02 myip 88.112.11.13
tcp_outgoing_address 88.112.11.12 ip01
tcp_outgoing_address 88.112.11.13 ip02

As a result:
Everything works, but when accessing these proxies at the same time, IP starts showing only one, for all proxies, and then another, also for all, well, etc. (In general, it turns out some kind of IP carousel).

I googled and didn't find anything on this issue.
I almost despaired, but then I came to you.
I will be grateful for any help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Shurakov, 2015-05-23
@ceeport

Do you absolutely need squid to run in a single instance? If not, it makes sense to run several copies, each with its own log directories and, most importantly, input ports and output IP.

A
AliEnWoRk, 2018-10-02
@AliEnWoRk

Note: Using this tag with an ACL is not possible if the server is using persistent connections. To make sure this tag works properly, you should set the value of the server_persistent_connections tag to off.
Found here: break-people.ru/cmsmade/index.php?page=translate_s...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question