Mikrotik - In-Session Parent Transparent Proxy

This manual describes how to configure Mikrotik as a parent proxy in transparent mode for In-Session service.

To follow this guide you need to have your Mikrotik unit configured based on our main manuals. This guide adds transparent proxy functionality.

Due to huge publishers demand for the In-Session feature we are sorry to announce we are not able to deliver this feature to all who are interested. Read more at How to enable In-Session Ads

Setting the Proxy Service

Open your WinBox or another management tool you use to configure your Mikrotik unit. 

Start at "IP / Web Proxy Setting"


All the necessary settings can be done on the General tab. The first field you need to enable is Proxy Service. See the screenshot below.

Src. Address This is the source IP address of your Mikrotik unit. We recommend to use the IP address of the Mikrotik's interface that points to parent proxy. In case, the transparent proxy is prior Ether1 you need to set the IP address set on that interface. Please note that by default settings Ether1 port is set as DHCP client and therefore, the IP address is being assigned. If this is your case you need to change that dynamically assigned IP address to a static one.
Parent Proxy<IP_of_parent_proxy>This is the IP address of the parent proxy server delivering required functionality. You need to set the IP address, not DNS name. The IP address and port can be individual for each brand. However, you can set just one IP address to your Mikrotik unit. Therefore,  use the same IP address for all internal hotspots use.
Parent Proxy Port3128The port of parent Proxy Server providing required functionality.

You don't need to amend any other field as the internal cache memory is not used in this case. 

Web Proxy Settings

In Web Proxy Settings you can select which requests will be handled by parent proxy server and which ones will be released directly to the Internet.

As we want to redirect all requests to parent proxy server you don't need to set anything here and the list of rules will be empty.

Web Proxy cache

Now select General tab and under the Cache button set an empty rule with the "=deny" action. By that, none of the requests will be stored in RAM cache. That allows you to reduce the CPU usage of your Mikrotik unit.

If you are also interested in using local cache on your Mikrotik Device, disable this added rule and on the General tab set the destination (RAM / drive) for storing the data. You can also set the limits there. Before you do that, check your RAM / drive capacity. We do not recommend to use these settings. We do not provide any support if this is enabled. 

Transparent proxy

The last change you need to do is to enable transparent proxy. You can manage that at "IP / Hotspot / User Profile".