Community discussions

MikroTik App
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Voip and Vpn Between 2 Connections

Mon Feb 05, 2007 2:07 pm

I have a customer with 2 adsl connections. They use normal internet traffic and in addition VPN and VOIP traffic.
I want to route VOIP traffic through one of this connections and the rest for the other. I must use /ip firewall mangle feature ?, in this case, i must use "connection-type" option to to identify them ?. Which is the best method ?


Thanks a lot.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Mon Feb 05, 2007 2:37 pm

IMHO set default route to connections that uses VOIP and VPN and route all other traffic (normal) to other gateway using routing marks :)
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Mon Feb 05, 2007 2:39 pm

Sorry janisk, I don´t understand.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Mon Feb 05, 2007 2:42 pm

you can set one of those DSL's as default route so, all traffic goes to lets say route 1

then you in mangle set routing marks and add another gateway that actept only marked packets and that traffic goes through other gateway

here about mangle and routing marks
http://www.mikrotik.com/testdocs/ros/2.9/ip/mangle.php
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Mon Feb 05, 2007 2:47 pm

Ok ok, and marking the packet matches in connection-type=h323 no ?


Thanks
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Mon Feb 05, 2007 3:00 pm

i do not know exactly what you have to mark. :roll:
 
fpascual
Member Candidate
Member Candidate
Topic Author
Posts: 140
Joined: Mon May 29, 2006 3:17 pm

Mon Feb 05, 2007 3:06 pm

Voip packets.
With mangle I mark packets for the both ways ? (input and output)
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Mon Feb 05, 2007 3:26 pm

as your voip packets will leave only by one gateway you do not need to think about incoming packets, just for outgoing as destination always will be client that is having voip but outgoing should be all transferred to correct GW.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Mon Feb 05, 2007 3:26 pm

as your voip packets will leave only by one gateway you do not need to think about incoming packets, just for outgoing as destination always will be client that is having voip but outgoing should be all transferred to correct GW.