Hi, i have a proxy server running on linux squid, i wish to redirect all my client to that proxy server without going through web-proxy of mikrotik. Can anyone show me how to redirect all my clients to that squid? My squid is running on port 8080.
Thank you
You need to use DST-NAT
[admin@mtRouter]ip firewall nat>print
1 ;;; Redirect for DansGaurdian WebProxy
chain=dstnat src-address=192.168.2.0/24 protocol=tcp dst-port=80
action=dst-nat to-addresses=10.40.1.200 to-ports=3128
This nat rule is redirecting all web traffic (port 80) from clients in the 192.168.2.0/24 subnet to port 3128 on 10.40.1.200 (our web proxy)
hth
Thank you for your help
seems better using linux squid than using mikrotik built in proxy… just my opinion.
This depends on your situation and expirence. If for example you do not want to run another computer (expence or complexity) then the MikroTik builtin proxy is very useful and effective.
sorry to highjack a thread but…
Mikrotik level4 lic x86 pc setup
3.0ghz P4
1024MB ram
256MB CF for MT OS
80gig HDD for web-cache
4 - 10/100 nics
I am a complete newbooob with Mikrotik and I have been reading the manual and forums till my eyes are bleeding.
I have been able to setup hotspot
I have been able to setup hotspot for remote radius server
This is all working and I can login just fine using the remote radius server.
I am having a problem figuring out how to now setup the 2nd 80gig HDD for a web-cache. Yes I have read the manual and I am still lost.
I would be willing to pay someone to work for a few hours one-one with me.
Not looking for someone to do this for me but rather someone to teach me a few things that I dont understand. (Feed a man fish and he will be hungry again. Teach a man how to fish and he can feed himself)
I would also like to learn how to setup 2 of the nics for loadbalance on the public side and the other 2 nics for load balance on the hotspot side.
Coffeeman
Hi Coffeeman
Once you have the 2nd hard dirve installed and being recognised by the PC (half the battle), (from memory) login to your MikroTik using Winbox:
- IP|Webproxy
- on one of the tabs is a Setup button - press it
- you should be able to find the controls to setup the slave hard drive here
- leave most of the settings default
I’ve successfully set up a 11GIG cache, each GIG of HD cache uses up some RAM too, someone has explained this elsewhere on the forum.
As for loadbalance - the best setup I’ve found so far has been on the MikroTik wiki.
hey shielder,
can you post your squid.conf please over here. I wanna setup a tunned squid cache but i don’t have enough time to tune it.
thanks in advance
Sorry maroon, i am just a beginner in squid and i just follow the how to on setting the squid and it’s just some basic configuration. I am sorry i couldn’t help you for this ![]()
edit: I tried to post my squid.conf, but it cut it off.
I guess the message was too long.
I’ve got a transparent setup, tweaked for low bandwidth, high latency (dial up) with no security, wide open.
can you please send it to attached by e-mail
your help is highly appreciated
thank you
Regards,