Squid routing issue
by xtal from LinuxQuestions.org on (#59REF)
I have a Squid proxy server running on CentOS 8, the server itself was supplied with an additional /27 subnet. I am assigning all addresses to the same port, which is where I think my problem lies.
Say I have 195.xxx.xxx.227:3128 <-- the first address assigned to :3128, and I assign the rest of the subnet all the way up to 195.xxx.xxx.255 to :3128, when I grab a random IP address to use as a proxy and then use a "find my IP address" site, it shows as 195.xxx.xxx.227, as opposed to the random proxy I selected to use on chrome (say 195.xxx.xxx.240). This is a massive issue for me as it results in my entire subnet being rate limited very quickly due to all requests seemingly coming from the 195.xxx.xxx.227 IP address.
However, when I assign all of the addresses within my subnet to a different port, everything works fine. But doing so is extremely tedious and I know somehow that it's possible to assign all addresses in a subnet to the same port and have them work correctly I just don't know personally how.
Would really appreciate some help in understanding why that is happening when I use the same port and perhaps how to fix it.
Apologies of some of what I said is a little hard to understand, I'm somewhat new to this. I can provide my squid config file if neccessary. Any help would be greatly appreciated in solving my issue.


Say I have 195.xxx.xxx.227:3128 <-- the first address assigned to :3128, and I assign the rest of the subnet all the way up to 195.xxx.xxx.255 to :3128, when I grab a random IP address to use as a proxy and then use a "find my IP address" site, it shows as 195.xxx.xxx.227, as opposed to the random proxy I selected to use on chrome (say 195.xxx.xxx.240). This is a massive issue for me as it results in my entire subnet being rate limited very quickly due to all requests seemingly coming from the 195.xxx.xxx.227 IP address.
However, when I assign all of the addresses within my subnet to a different port, everything works fine. But doing so is extremely tedious and I know somehow that it's possible to assign all addresses in a subnet to the same port and have them work correctly I just don't know personally how.
Would really appreciate some help in understanding why that is happening when I use the same port and perhaps how to fix it.
Apologies of some of what I said is a little hard to understand, I'm somewhat new to this. I can provide my squid config file if neccessary. Any help would be greatly appreciated in solving my issue.