LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how can i add the rtp protocol to my iptables rule (https://www.linuxquestions.org/questions/linux-networking-3/how-can-i-add-the-rtp-protocol-to-my-iptables-rule-743726/)

hdinn 07-29-2009 12:25 PM

how can i add the rtp protocol to my iptables rule
 
hi everybody,

i'm new in linux world i would like to know how can i add the rtp protocol to my iptables rule for Netfilter firewall,but without installing the asterisk server.

thank you very much

kirukan 07-29-2009 12:29 PM

Allow the udp port on this range(in default rtp listening on this range)
iptables -I INPUT -m state --state NEW -m udp -p udp --dport 10000:20000 -j ACCEPT


All times are GMT -5. The time now is 11:25 PM.