Add VoIP/SIP ACL template for Asterisk PBX, port range support
ACL backend: - AclRule gains optional port_end field; build_acl generates "range X Y" when both port and port_end are set (needed for RTP) New ACL template — "SIP Phone VLAN — Asterisk / FreePBX access": - Permits SIP signaling UDP/TCP 5060 to PBX IP - Permits SIP/TLS TCP 5061 to PBX IP - Permits RTP audio UDP range 10000-20000 to PBX IP (uses new range syntax) - Blocks management VLAN 99 - Permits internet and all other traffic - Requires entering the Asterisk server IP (restricts SIP/RTP to that exact host, not the whole VLAN subnet) Template description explains: - Why OPNsense firewall rules are also needed (inter-VLAN routing) - Exactly which OPNsense rules to add (including return RTP) - Remote access options: WebRTC via Caddy reverse proxy (recommended) and SIP/TLS with fail2ban for traditional SIP clients Template modal: - New pbxIp param field shown for VoIP template - Description box scrollable for longer template descriptions - Preview renders "range X Y" for port range rules https://claude.ai/code/session_01JR2EMK7rwrZJowpstcaxQ6
This commit is contained in:
+2
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user