Forward to Proxy

I have a interesting request from a customer.

So to understand what they want i will try to explain. They are using some goverment network and the goverment network requirement is to use proxy for computers to access internet. All the clients in the network have proxy settings set in Internet explorer.

But they are a library and have now bought an AP for Wifi for guests and the guests can’t access internet now without setting up proxy settings on their devices. And that is the pain in the a**.

For the sake of debate lets say theese are the customer data:

IP Subnet 192.168.88.0/24
Gateway : 192.168.88.1
Proxy to forward trafic to : 5.5.5.5:8080

So the setup would look like this

SWITCH → MIKROTIK (PORT 2) / MIKROTIK (PORT3)—> CISCO

I would like to use mikrotik to gather all the traffic of the network 192.168.88.0 going to the internet and forward it to the proxy, thus eliminating the need to use proxy setup on the clients.

I hope i was clear.

I have a feeling that this has either a simple solution or is imposible :smiley: But i just cant wrap my head around it…

Help would be apprechiated.

Hello,

What you need is a transparent proxy. take a look at this : http://wiki.mikrotik.com/wiki/Manual:IP/Proxy#Transparent_proxy_configuration_example

Regards,

Thank you for your suggestion. But i need forward all traffic to exact IP address and port i dont see that setting in transparent proxy. Or am i missing something.

Lets say this is the proxy i would like to use that is located in France :

IP : 62.23.15.92
PORT : 3128

Hello, try this :

chain=dstnat action=dst-nat to-addresses=62.23.15.92 to-ports=3128 protocol=tcp src-address=192.168.88.0/24 log=no log-prefix=“”