Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Finding equivalent pf rule for iptables SIP REGISTER string

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 176 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      simplyzero
      last edited by

      I have a few Asterisk PBXs that I’m looking to secure behind a separate FreeBSD box with pf rules as the firewall. In iptables on the CentOS Asterisk PBX’s today I use a rule of “-A INPUT -p udp -m string -i eth0 --dport 5060 -j ACCEPT --string "REGISTER sip:[FQDN HERE]" --algo bm” to look for if you know the FQDN, you’re allowed.

      Is there an equivalent way to do this in pf?

      K 1 Reply Last reply Reply Quote 0
      • K
        kprovost @simplyzero
        last edited by

        @simplyzero No, there is not.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.