M
M
microticuser2019-12-27 11:56:14
Mikrotik
microticuser, 2019-12-27 11:56:14

Help setting up a transparent proxy on microtik?

You need to set up a transparent proxy on the microtik router.
There is a static ip on wan without DNS - 10.35.xx, clients access the Internet through a proxy, registered locally on each machine - 10.0.xx:3128.
The task is to register the same proxy on wan on Mikrotik so that it is transparent to clients.
How can I do that? I have never dealt with Mikrotiks and I understand networks poorly.
I tried to raise the built-in web proxy

/ip proxy
set cache-path=web-proxy1 enabled=yes max-cache-size=none parent-proxy=10.0.x.x parent-port=3128

And registered in NAT
/ip firewall nat
add action=redirect chain=dstnat protocol=tcp src-interfaces-list=LAN to-ports=8080
add action=redirect chain=dstnat protocol=udp src-interfaces-list=LAN to-ports=8080

In the end, nothing has changed.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
akelsey, 2019-12-27
@akelsey

It's not enough just to forward the port, the proxy itself must be able to work in the "transparency" mode. Squid can. Mikrotik is not.

M
Maxim Korneev, 2020-12-30
@MaxLK

why do you need a proxy? only static pages are proxied, of which there are almost none now. Look in the statistics of the proxy server % of proxied traffic.
and so it is enough for you on the router to direct all traffic outward to the proxy.
and also keep in mind that if there is a need to work with EDS on the Internet, then it either does not work with a proxy, or it requires special proxy settings.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question