This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
networking:router:mikrotik_voip [2014/06/24 14:02] gcooper created |
networking:router:mikrotik_voip [2015/07/09 21:44] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Mikrotik - VoIP ====== | ====== Mikrotik - VoIP ====== | ||
+ | |||
+ | See also **[[networking: | ||
http:// | http:// | ||
+ | |||
+ | :!: Use '' | ||
+ | |||
+ | ===== Example from Wiki Page ===== | ||
+ | |||
+ | < | ||
+ | /queue tree | ||
+ | add name=" | ||
+ | add name=" | ||
+ | add name=" | ||
+ | add name=" | ||
+ | add name=" | ||
+ | add name=" | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | /ip firewall mangle | ||
+ | add action=mark-packet chain=prerouting comment=" | ||
+ | new-packet-mark=SIP_IN passthrough=no src-address=192.168.0.16 | ||
+ | add action=mark-packet chain=postrouting disabled=yes dst-address=192.168.0.16\ | ||
+ | new-packet-mark=SIP_OUT out-interface=WAN passthrough=no | ||
+ | add action=mark-packet chain=prerouting comment=" | ||
+ | new-packet-mark=ELSE_IN passthrough=no src-address=!192.168.0.16 | ||
+ | add action=mark-packet chain=postrouting disabled=yes dst-address=!192.168.0.16\ | ||
+ | new-packet-mark=ELSE_OUT out-interface=WAN passthrough=no | ||
+ | add action=mark-packet chain=prerouting comment=" | ||
+ | new-packet-mark=ELSE_IN passthrough=yes protocol=tcp src-address=192.168.0.16 src-port=80 | ||
+ | add action=mark-packet chain=postrouting disabled=yes dst-address=192.168.0.16\ | ||
+ | dst-port=80 new-packet-mark=ELSE_OUT out-interface=WAN passthrough=yes protocol=tcp | ||
+ | </ | ||
+ |