Transparent Web Proxy configuration

Hello guys, ill go straight to the point.

I have a mikrotik router and a DSL. Behind mikrotik router is my whole LAN.

Mikrotik has 2 LAN cards (its a PC with 8GB flash card)

dsl modem : 192.168.1.1/24
ether1-dsl : 192.168.1.2/24

ether2-lan : 192.168.2.1/24

dhcp server on ether2 192.168.2.10-192.168.2.250

Now i set a web proxy up with transparency. I did that because i want my devices to access the internet faster with cached hosts and consume less bandwidth.

So when i finished with the masquarade in firewall for my NAT, i went to IP->web proxy

i clicked enabled, port 8989

max cache size 4gb
max clients 3000
max server connections 3000
TOS 10

max fresh time 190d


Then to firewall nat, i set a dstnat the whole 2.0/24 redirection to port 8989, the destination ports 80,3128 (protocol tcp)

After these settings i see in cache contents that mikrotik caches all traffic to these ports. However i want to exclude some certain IPs from the cache. Can you describe me a way to do it?

Thanks in advance guys!!!

Use a real proxy, like squid, on a separate box.

ether2-lan : 192.168.2.1/24
Add new different ip address on ether2-lan, ie: 192.168.3.1/24 and use it for non cached user

Cheers mate!!! Ive never thought about it before!!! Thank you very much! You saved me of a lot of effort and time!! :smiley: :smiley: :smiley: