Update rtpengine.init

There is no INPUT_prefilter table on CentOS 6 systems.  So put it on INPUT should be good enough.
pull/317/head
Karsten Horsmann 9 years ago committed by GitHub
parent fb81332e80
commit 06922c530d

@ -208,7 +208,7 @@ start() {
else else
iptables -N rtpengine iptables -N rtpengine
# We insert the rtpengine rule at the top of the input chain # We insert the rtpengine rule at the top of the input chain
iptables -t filter -I INPUT_prefilter -j rtpengine iptables -t filter -I INPUT -j rtpengine
iptables -I rtpengine -p udp -j RTPENGINE --id $TABLE iptables -I rtpengine -p udp -j RTPENGINE --id $TABLE
ip6tables -I rtpengine -p udp -j RTPENGINE --id $TABLE ip6tables -I rtpengine -p udp -j RTPENGINE --id $TABLE
fi fi

Loading…
Cancel
Save