Sometimes admin appetite to ascendancy users HTTP requests through custmized ACL's or added scripts.
Mikrotik can be acclimated as PPPoE server area all PPPoE or audience on 192.168.0.0/23 arrangement are affiliated with Mikrotik anon through LAN.
Mikrotik with 3 interfaces
LAN (for clients)
WAN (for Internet)
eth1 (for Squid)
Mikrotik simple view
Squid
Squid accept 2 blazon of networks
LAN IP Abode 192.168.100.1/24 after any aperture or avenue address.
Just for LAN connectivity with Mikrotik eth1 with 192.168.100.2/24 IP Address
PPPoE conection for Internet through Mikrotik 'but' altered IP Abode 192.168.12.2 (normal audience IP abode 192.168.0.0/23)
Internet setup for Squid
Squid Internet access is working
Time to avenue audience cartage to abode 192.168.100.1 with audience on IP's with 192.168.0.0/23 range
Disable NAT ( IP / Firewall / NAT / masquerade srcnat 192.168.0.0/23
When accustomed applicant appeal for Internet to Mikrotik again Mikrotik all LAN arrangement 192.168.0.0/23 passthrow to Squid 192.168.100.1 absolute after any delay.
Example: Any appeal from 192.168.0.0/23 arrangement (with acquisition mark client), Mikrotik avenue this appeal to 192.168.100.1, and if addition arrangement appeal again Mikrotik avenue this appeal to WAN avenue 192.168.11.1.
Complete final view
but how to configure squid ?
How to use external open source caching server