20 Jan
2010
20 Jan
'10
4:29 p.m.
On Wed, 2010-01-20 at 12:18 -0200, Santiago Soares wrote:
You can use this rule to allow media from any IP:
-A INPUT -m multiport -p udp --dport 16384:32768 -j ACCEPT
And this one to allow signaling:
-A INPUT -s aaa.bbb.ccc.ddd -p udp --dport 5080 -j ACCEPT
No need to load multiport in that case: -A INPUT -p udp --dport 5080 -j ACCEPT -A INPUT -p udp --dport 16384:32768 -j ACCEPT Equivalent with multiport: -A INPUT -p udp -m multiport --dports 5080,16384:32768 -j ACCEPT François.