/ip proxy set parent-proxy=213.42.21.101
/ip proxy set parent-proxy-port=8088
/ip proxy set port=8090
/ip proxy set enabled=yes
And then create a dstnat rule to forward all the tcp connections to the webproxy:
(Just to make sure you won’t break your connection with the router, create a dstnat rule first, set the dst-address, to your router address and set the action to accept.)
I am bit confused! I don’t get what do you mean by the following
(Just to make sure you won’t break your connection with the router, create a dstnat rule first, set the dst-address, to your router address and set the action to accept)
Actually, I am new to MikroTik. If you can provide an example of code it would be great.
Alright, my bad. looking at it again, this method still works but only for http requests. meaning anything else beyond that (like https), would fail. Although i think transparent proxy for https could have probably worked by looking at the SNI field, this is not the case for mikrotik web proxy at the moment. So if you still want to do that, use this code instead of the above one: