Hi.
I have managed to create a script to update an adress list, only for 1 IP, that changes every month.
It works.
But i need to know how to route it throug a certain interface.
The client uses a pppoe connection for default route, i would like to route the adress lsit IP past the pppoe on a static IP.
What i currently do is:
/ip firewall mangle
add action=mark-routing chain=prerouting disabled=no dst-address-list=
host_voip new-routing-mark=VOIP passthrough=no
then i route it through the static IP past the pppoe, is this correct ? or do I have to mark packets and connection ?
marking connection and afterwards packets based on connection is considered less resource intensive since you have to match a lot of arguments only for initial connection packets and then only 1 argument to mark packets from marked connections. While if you mark packets directly you will have to match a lot of arguments every time packet arrives for all the packets that pass through.
OK, thank you I understand now.
I mark the connection from address list
then a 2nd argument that marks the packets of that connection mark
and then a 3rd argument that marks the routing of the packet marks
Then i use that for routing.
Thank you, I see now, wasnt sure about that last part.
ill test now.
The reason for all this is that clients max their queue of the pppoe and voip doesn’t work anymore, so i want to route VOIP past pppoe.
Looks like this will work.