format-drive - formats non-system cache drive and prepairs it for holding the cache
Transparent Mode
Description
Transparent proxy feature performs request caching invisibly to the end-user. This way the user
does not notice that his connection is being processed by the proxy and therefore does not need to
perform any additional configuration of the software he is using.
This feature may as well be combined with bridge to simplify deployment of web proxy in the
existing infrastructure.
To enable the transparent mode, place a firewall rule in destination NAT, specifying which
connections, id est traffic coming to which ports should be redirected to the proxy.
Notes
Only HTTP traffic is supported in transparent mode of the web proxy. HTTPS and FTP protocols
are not going to work this way.
Example
To configure the router to transparently redirect all connections coming from ether1 interface to
port 80 to the web proxy listening on port 8080, then add the following destination NAT rule:
[admin@MikroTik] > /ip firewall nat add in-interface=ether1 dst-port=80 \
\... protocol=tcp action=redirect to-ports=8080 chain=dstnat
[admin@MikroTik] > /ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0
chain=dstnat protocol=tcp in-interface=ether1 dst-port=80 action=redirect
to-ports=8080
[admin@MikroTik] >
Be aware, that you will not be able to access the router's web page after addition of the rule above
unless you will change the port for the www service under /ip service submenu to a different value
or explicitly exclude router's IP address from those to be matched, like:
It is assumed that the router's address is 1.1.1.1/32.
HTTP Methods
Description
OPTIONS
This method is a request of information about the communication options available on the chain
between the client and the server identified by the Request-URI. The method allows the client to
determine the options and (or) the requirements associated with a resource without initiating any
resource retrieval
Page 559 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.
Содержание RouterOS v2.9
Страница 1: ...MikroTik RouterOS v2 9 Reference Manual ...