Access List - MikroTik RouterOS v2.9 Reference Manual

Reference manual
Table of Contents

Advertisement

• invalid-address - proxy is enabled, but not running because of invalid address (you should
change address or port)
• invalid-cache-administrator - proxy is enabled, but not running because of invalid
cache-administrator's e-mail address
• invalid-hostname - proxy is enabled, but not running because of invalid hostname (you should
set a valid hostname value)
• error-logged - proxy is not running because of unknown error. This error is logged as
System-Error. Please, send us this error and some description, how it happened
• reserved-for-cache (integer) - maximal cache size, that is accessible to web-proxy
transparent-proxy ( yes | no ; default: no ) - specifies whether the proxy uses transparent mode or
not
Notes
By default the proxy cache can use as much disk space as there is allocated for it. When the system
allocates the space for the proxy cache, 1/7th of the total partition (disk) size is reserved for the
system, but not less than 50MB. The rest is left for the proxy cache. The system RAM size is
considered as well when allocating the cache size. The cache size is limited so, that there are at least
15MB of RAM per 1GB of cache plus 55MB of RAM is reserved for the system. max-cache-size is
also taken in account, so the cache will not occupy more than it is specified in this property. The
effective limit is calculated as a minimum of all three limits. Note also that RouterOS supports up to
950MB of memory.
Considering the previous note, you should be aware that you will not be able to enable web proxy,
if you have less than 60MB of RAM on your router
Expire time of cache entries can be different for each HTML page (specified in headers). But, if
there is no such header, the entry will be considered fresh for not more than 72 hours.
The web proxy listens to all IP addresses that the router has in its IP address list.
Example
To enable the proxy on port 8080:
[admin@MikroTik] ip web-proxy> set enabled=yes port=8080
[admin@MikroTik] ip web-proxy> print
src-address: 0.0.0.0
transparent-proxy: no
parent-proxy: 0.0.0.0:0
cache-administrator: webmaster
max-object-size: 4096 KiB
cache-drive: system
max-cache-size: none
max-ram-cache-size: unlimited
reserved-for-cache: 0 KiB
reserved-for-ram-cache: 2048 KiB
[admin@MikroTik] ip web-proxy>

Access List

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.
enabled: yes
port: 8080
hostname: proxy
status: running
Page 555 of 695

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RouterOS v2.9 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF