Redirect all URL traffic back to a specific ip address (website )

Hello dear community,

I have PPPoE clients in the network range 10.1.0.0/19, which is hosted on ether1 with a local IP of 10.10.10.1. A NAT is used to allow these clients to connect to the internet, which works fine.

Now, I want to redirect every web request (HTTP and HTTPS) from these clients to a specific local website with the IP address 11.11.11.10.

I managed to redirect all IP addresses so that no matter what IP address a user enters, they are always redirected to 11.11.11.10. However, I couldn’t get it to work for URLs, including both HTTP and HTTPS requests.

I’ve tried everything mentioned in forums, including using a proxy, but nothing worked for URL redirection.

I’m a beginner with MikroTik. A complete script or a detailed guide would be very helpful. Thanks

;;;;

You should probably use DST-NAT rules https://help.mikrotik.com/docs/display/ROS/NAT#NAT-DestinationNAT