Setup - MikroTik RouterOS v2.9 Reference Manual

Reference manual
Table of Contents

Advertisement

Please read the security notice in the Access List Section!
Note that it may be useful to have Web proxy running even with no cache when you want to use it
as something like HTTP and FTP firewall (for example, denying access to mp3 files) or to redirect
requests to external proxy transparently.

Setup

Home menu level: /ip web-proxy
Property Description
cache-administrator ( text ; default: webmaster ) - administrator's e-mail displayed on proxy error
page
cache-drive ( system | name ; default: system ) - specifies the target disk drive to be used for
storing cached objects. You can use console completion to see the list of available drives
enabled ( yes | no ; default: no ) - specifies whether the web proxy is enabled
hostname ( text ; default: proxy ) - hostname (DNS or IP address) of the web proxy
max-cache-size ( none | unlimited | integer : 0 ..4294967295 ; default: none ) - specifies the
maximal disk cache size, measured in kibibytes
max-object-size ( integer ; default: 4096 ) - objects larger than the size specified will not be saved
on disk. The value is measured in kibibytes. If you wish to get a high bytes hit ratio, you should
probably increase this (one 2 MiB object hit counts for 2048 1KiB hits). If you wish to increase
speed more than your want to save bandwidth you should leave this low
max-ram-cache-size ( none | unlimited | integer : 0 ..4294967295 ; default: unlimited ) - specifies
the maximal memory cache size, measured in kibibytes
parent-proxy ( IP address | port ; default: 0.0.0.0:0 ) - specifies upper-level (parent) proxy
port ( port ; default: 3128 ) - specifies the port(s) the web proxy will be listening on
reserved-for-cache ( read-only: integer ; default: 0 ) - specifies allocated memory cache size,
measured in kibibytes
reserved-for-ram-cache ( read-only: integer ; default: 2048 ) - specifies allocated memory cache
size, measured in kibibytes
src-address ( IP address ; default: 0.0.0.0 ) - the web-proxy will use this address connecting to the
parent proxy or web site.
• 0.0.0.0 - appropriate src-address will be automatically taken from the routing table
status ( read-only: text ; default: stopped ) - display status information of the proxy server
• stopped - proxy is disabled and is not running
• rebuilding-cache - proxy is enabled and running, existing cache is being verified
• running - proxy is enabled and running
• stopping - proxy is shutting down (max 10s)
• clearing-cache - proxy is stopped, cache files are being removed
• creating-cache - proxy is stopped, cache directory structure is being created
• dns-missing - proxy is enabled, but not running because of unknown DNS server (you should
specify it under /ip dns)
Page 554 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents