I'm intending to use iptables on CentOS 6.5 for all Freepbx (Asterisk) output via eth1.
I have two network interfaces:
eth0 - > internal network (for connecting PCs with the softphone)
eth1 - > internet (All Voip Out)
The rule: iptables -A PREROUTING -i eth1 -t mangle -p tcp --dport 5060 -j MARK --set-mark 1
I want to direct SIP to eth1 only, but I'm not successful