I’ve got MT 4.3 on RB450G up and running. I need to restrict access to some social network sites. With layer-7 feature i’ve managed to achieve what need, but I want to minimize overhead of L7 usage so I want to ban this sites by IP first. The problem is that some host names have more than one IP address assigned to them and :resolve returns only first of this IPs. Any way to get other IPs? I’ve tried to add them all statically, but list changes from week to week =(
If you have DNS enabled on your RouterOS, the IP it resolves is the same IP the client will get for a given website. Keep in mind, many sites use many servers for a given domain, making it almost impossible to detect an IP, even if you had all IPs for a given domain. Ex. server1.domain.com, server2.domain.com, server3.domain.com.
The built-in web-proxy on RouterOS is a much better solution, as it let’s you restrict *.domain.com.
we have 2 ISP here so 2 possible routes for real traffic. Now it determines routing table for packet based on client IP address.
The problem is that I do not know how to split client traffic based on criteria mentioned above when using proxy.
Now my configuration looks like this: