Greetings Everyone
Can anybody here to help me out .i am new to mikrotik i have dual wan fail over configuration. I want some amendments in my current setup so i can route my target website to my secondary wan.
Greetings Everyone
Can anybody here to help me out .i am new to mikrotik i have dual wan fail over configuration. I want some amendments in my current setup so i can route my target website to my secondary wan.
As routing cannot work with fqdn, only with IP addresses, everything boils down to whether the “target web site” uses just a limited set of IP addresses (some html pages download their parts from all over the world) and whether those addresses are not shared with other web sites. If both answers are positive, you can define address lists by fqdns and RouterOS will take care of maintaining up-do-date lists of IP addresses corresponding to those fqdns.
Thank you @sindy
can you tell me how can I redirecting my particular client all traffic with an IP address (local Lan) to secondary wan so that particular client all traffic will go through that secondary wan and rest of my clients remain same on my local Lan. Hope u understand what i wants to achieve. Thanks in advance again
Moving users to secondary WAN is achieved primarily by two routing methods.
a. Use Routing Rules ( a few users, or whole subnet(s) Less Complex
b. Mangling where the users are many and could be across subnets etc.. More Complex
In both cases you will need to create a special table, and a route for that table.
One should always ensure any firewall rules cover off the needed traffic.
Without seeing your actual configuration, I can only give you generic advice. As you mention a failover configuration, you have a routing table that contains a default route via each WAN; these default routes either differ in distance or are enabled/disabled by a script.
To allow a particular client to use the secondary WAN even if the primary one is working, you need to create a separate routing table that only contains a default route via the secondary WAN (or maybe prefers the route via the secondary WAN over the route via the primary one, it’s up to you what suits you better). And then you have to use a routing rule or a mangle rule that matches on the address of that special client as src-address and assigns this “use-only-wan2” routing mark (rotuing table name) to those packets.
If you need a more specific instruction, post the export of your config after removing any sensitive information from it.