I have configured a Web proxy as below but nothing seems to get inserted into the proxy. I have hundreds of requests to the proxy, but no content is being cached or sent to clients… Am I missing something here? How do I get it to acutally save content?
[admin@Flame] > ip proxy print
enabled: yes
src-address: 0.0.0.0
port: 8080
parent-proxy: 0.0.0.0
parent-proxy-port: 0
cache-administrator: webmaster
max-cache-size: none
cache-on-disk: yes
max-client-connections: 600
max-server-connections: 600
max-fresh-time: 3d
serialize-connections: no
always-from-cache: no
cache-hit-dscp: 4
cache-drive: usb1
[admin@Flame] >
[admin@Flame] /ip firewall> nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade out-interface=BigPond
1 chain=dstnat action=redirect to-ports=8080 protocol=tcp
in-interface=wds-bridge dst-port=80
[admin@Flame] /ip firewall>
[otgonkhuu@MobiNetClassic] /store> pri det
Flags: X - disabled, A - active
0 X name="user-manager1" type=user-manager disk=primary-master status=backup
1 X name="dude1" type=dude disk=primary-master status=backup
2 name="Proxy" type=web-proxy disk=sata1 status=backup
Max. Cache Size=none forces proxy not to cache any files, other values for Max. Cache Size enables proxy caching to disk or RAM depend on th eoption “cach on disk”. Try to set it to unlimited or at least some specific size, and then see the results.
Files are now being saved to the cache, however, they are not being delivered to clients. The Lookups page Web Proxy Settings say I have hundreds of ‘Not Found’.
Mikrotik webproxy is a very basic version of proxy service IMHO.
You can’t expect much from it, its suitable for small-mid size network for basic caching facility of common objects. For advance caching capabilities, Use 3rd party external proxy server , I will prefer SQUID.
Caching Internet access will require a lot of read and write access to the disk, chose fast disk for maximum performance for concurrent user request support.
Cache performance also heavily depends on RAM size, the More RAM you have in your server, the Better performance you will get.
You can see what content is cached in webproxy cache By going to IP > Web Proxy > Cache Contents
1- you can set the parent proxy in the ROS, that should point to your SQUID machine’s IP address.
2- you can forward your network traffic to Squid machine and use the squid as transparent proxy.