RB750 proxy

Evo1ve

Well-Known Member
Joined
Aug 20, 2011
Messages
149
Reaction score
31
Location
Under Your Heatsink
Well this is a simple question. How can i enable caching of files types like .exe , rar on the Mikrotik running routeros 5.17. Caching works 100% with normal web based stuff.

Any advice would greatly help:D
 
How have you enabled it for normal browsing? There is only limited space on the device.
 
Yes, I made it transparent. I know its memory's quite small but I would really like to know how to cache such file types without using Squid etc..
 
Caching of web content on the RB750 is just silly, because you'll just damage the NAND memory of it, because it has limited amount of read/write cycles.
Unfortunately the HTTP Proxy on the MikroTik RouterOS is very limited, so you can't cache certain file/content types. The other issue is that most websites would provide you with a unique URL for downloading applications, so your proxy server will never cache it, unless you have a plugin for that specific site.
The same goes for many videos, like YouTube for instance, which is why you'll need a plugin for Squid to be able to cache it properly.

I'm using MikroTik RouterOS' HTTP proxy to cache general web content on my HP Microserver, just because I'm too lazy to setup Squid.

Update:
You can probably setup a Layer 7 rule to check for HTTP traffic's content type, but that would most likely max out your poor RB750's CPU.
The Web Proxy supports Web Proxy Cache rules, so you can try and add a rule to allow caching where the path ends with .exe or something like that, and deny everything else.
eg.
Code:
/ip proxy cache
add action=allow disabled=no dst-port="" path=*.exe
add action=deny disabled=no dst-port=""
 
Last edited:
Thanks Pada for the info!

I just tested it to see how it works, and it works very good :) Maby I should setup a
Squid server for Cache-ing some data and updates etc...

Once again thank you
 
Top
Sign up to the MyBroadband newsletter
X