[squid-users] best way to have randomized outgoing per each new connection

--Ahmad-- ahmed.zaeem at netstream.ps
Mon Aug 22 18:01:14 UTC 2016


Hi Guys . (squid users) :)

I’m wondering here … what is the best method so that i give randomized tcp outgoing address per new session.

let me explain well .

say that i have 100 ips  on squid .

i want each new connection to squid comes to have a specified outgoing address from the 100 pool

say i connected to port xxx on squid  i want to have outgoing ip like ip1

say i closed my browser or disconnected the session and connected again to have ip2 and keep on ip2 until session is closed or dead or timeout .


again i don’t want to have trouble with the current connection or instability with the current connection .

say that the main ip of squid/server was 1.2.3.4
i want to access the server 1.2.3.4:port 3128

and in each connection or new connection it go outside one of the 100 ips i have in the pool .


im not sure what is the best :
iptables , redsocks or squid or even combination between them 

i will be using squid 3.5.lastver





my kind regards





More information about the squid-users mailing list