0
I am intending to use iptables in Centos 6.5 for all Freepbx (Asterisk) outputs via eth1.
I have two network interfaces:
eth0 --> internal network (for connecting Pcs to Softphone)
eth1 --> internet (All Voip outputs)
The rule: iptables -A PREROUTING -i eth1 -t mangle -p tcp --dport 5060 -j MARK --set-mark 1
I want to target the SIP to eth1 only, but I’m unsuccessful
Geez, who clicked the negative and didn’t even explain why? How can I do it right?
– Marcello Infoweb
Don’t worry, it happens. See here, I already used this page as a reference: http://asteriskbrasil.org/pipermail/asteriskbrasil/2006-December/012267.html
– Diego