Sorry maybe im adding a similar topic that here is , but im vey confused to do it .
Its a week that im reading and trying to do something with a squid server into my network .
I have installed linux and configured squid as a transparent proxy and it works .
but now im trying to connect them together .
i have some public ips and a lot of routerboards with mikrotik that i use with public ip
now i want to set up a squid server into my network and adding a public ip and connecting them like radius without adding it to local
is there a way to do it or what is the best way for me . please help . i would be very thankfull if someone can help me to solve this case
[ipko@AlbiNet-Kijeve] > /ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m -
mme,
B - blackhole, U - unreachable, P - prohibit
DST-ADDRESS PREF-SRC
0 A S 0.0.0.0/0
1 ADC 80.80.171.16/28 80.80.171.17
2 ADC 80.80.171.128/25 80.80.171.243
How did you verify that it works?
I’ve Installed properly squid into ubuntu and configured it to work in port 8080 transparent into ip : 80.80.171.29
now i’ve a computer in the ip : 80.80.171.27 i’ve added the proxy to IE or GOOGLE CHROME
and everything works fine
but now im trying to connect it to the mikrotik together …
From what machine (and IP) did you test it from?
Computer on the same range ( not mikrotik ) IPL: 80.80.171.27 ( squid ip is .29 ) with google chrome
Does your Squid box have a single NIC in it?
yes at the moment it has just one and it is connect with the second main router that has the ip range :
80.80.171.17/28
Sorry, Squid installations can be kind of confusing..
yeah a lot , but it’s the best thing that i’ve ever seen
how can i connect it to everymikrotik
i thing i’ve added the dstnat to the firewall to redirect all the trafic from 80 to ip 80.80.171.29 with port 8080 . but it doesnt work or i cant get full speed on the clients that are with ppoe with ip range 10.5.7.0/24
i’ve tried and thx from SYED because i hadn’t see this page , i even could do a squid server cuz i dont know in linux very well , now everything seems to be ok if i add the proxy into the same network in google chrome but if i add the proxy into mikrotik with dstnat it can cache everything in the server cuz i see TCP_MISS and TCP_refresh_hit but i cant see tcp_hit so i cant take anything from the cache just adding into cache