Maybe this is a estrange question, and I will try to explain better as possible my friends.
Now, since today I have two WAN links
WAN 1 = Tooway sat unlimited (uk IP)
WAN 2 = 4G Movistar spain unlimited (spain IP) with restrictions: No VPN, No VoIP and some others.
Then, I wan to USE both in the same time. I have a very big Queue tree with traffic shaping for web, ftp, whatsapp, p2p, voip and other shaping/prioritization because the unlimited service in the SAT is under FAP many times.
Then, now I want to put some SERVICES (no IPs) into one ISP and other into the other ISP.
For example, with IP address is very easy, I mark a routing for the IP list and a routing mark matching and is perfect.
But the problem is when I try to mark a services that is previously marked for packets and connections.
Is this possible?
I am doing this, and is not working…
add action=mark-connection chain=prerouting comment=“Http home Mark” connection-state=new dst-port=80,443,8080 new-connection-mark=http-home protocol=
tcp src-address-list=local-network
add action=mark-connection chain=forward connection-state=new dst-address-list=local-network new-connection-mark=http-home protocol=tcp src-port=
80,443,8080
add action=mark-routing chain=prerouting comment=“Web home via Sat” connection-mark=http-home disabled=yes new-routing-mark=VIA_SAT
add action=mark-packet chain=prerouting comment=“Http home Packet” connection-mark=http-home new-packet-mark=HTTP-home passthrough=no
add action=mark-packet chain=forward connection-mark=http-home new-packet-mark=HTTP-home passthrough=no
I am now trying to add the packets for WEB in my local networks (I have three different networks), to go out using the SAT and not the 4G router.
If I use a IP list, it works, now I have VoIP using the SAT, because the SIP protocol is blocked in the 4G connection
This works:
add action=mark-routing chain=prerouting comment=“Marcado via Sat” new-routing-mark=VIA_SAT passthrough=no src-address-list=salida-via-sat
add action=mark-connection chain=prerouting comment=“VoIP Mark” connection-state=new new-connection-mark=VoIP src-address-list=sip-internos
add action=mark-connection chain=forward connection-state=new dst-address-list=sip-internos new-connection-mark=VoIP
add action=mark-packet chain=prerouting comment=“VoIP Packet” connection-mark=VoIP new-packet-mark=VOIP passthrough=no
add action=mark-packet chain=forward connection-mark=VoIP new-packet-mark=VOIP passthrough=no
With this, I am able to route using the SAT and be in the big queue tree, because I can see the traffic.
In the queue tree, I have this for VoIP
add limit-at=512k max-limit=3M name=VoIP-download-2 packet-mark=VOIP parent=total-download-ether2 priority=2 queue=pcq-download
add limit-at=512k max-limit=3M name=VoIP-upload packet-mark=VOIP parent=total-upload-sat priority=2 queue=pcq-uploap
And is similar for each one marked packet.
Thank you a lot my friends for your comments