Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12604

Adding Custom iptables rule to FreePBX Firewall

$
0
0

@necits2015 wrote:

I need to add a custom rule to the FreePBX Firewall but I'm not exactly sure how to do it. I've enabled "Custom Firewall Rules", created the file /etc/firewall-4.rules, made sure it was owned and writable by root only, and added the rule to the file trying different formats but I can't seem to get it to stick. The rule I'd like to add is

 iptables -I OUTPUT -m string --string "SIP/2.0 503 Service Unavailable" --algo bm --to 65535 -j DROP

(This is related to a Yealink bug regarding transfers but that's for another topic!)

Any suggestions would be much appreciated :slight_smile:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 12604

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>