[Freeswitch-users] Port question again

François Delawarde fdelawarde at wirelessmundi.com
Wed Jan 20 08:29:23 PST 2010


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.





More information about the FreeSWITCH-users mailing list