Nat problem with Proxy

Hello!
I have long wanted to use the proxy but I have always had a problem where I end up disabling, they are actually 2 problems. The following is the will mention:

  1. It turns out that in my private network, I give public ip to multiple users using the nat, there I works great, the problem is when I enable the proxy nate, customers are forgoing the public IP I have assigned them and just take the main ip. I have made many changes trying to solve this problem but I’ve never been able to do something about it.

2.The other problem is that also redirect traffic to the proxy 80 to mangle rules to mark traffic stop and that affects the time limit or prioritize the services to my clients.

I hope you can help me because I am desperate to solve this problem.

Thank you very much.

  1. you need additional machine with squid in TProxy mode. RouterOS Web Proxy do not support absolutely transparent proxying

  2. as soon as you enable Web Proxy, traffic between the user and the website turns into traffic between the user and your router (Web Proxy itself). so now you should mark not only in ‘forward’ chain, but also in ‘input/output’ chains

ok, i understand now
you can put me a example small over the second consult.

Thanks

if you mark download traffic by

chain=forward out-interface=Local

and upload by

chain=forward in-interface=Local

, then in case of Proxy you should use

chain=output

for download and

chain=input

for upload

mmmm perfect!
Now if I stay completely understood.

Thank you, makes testing and tell you that that was me.

Thank you.