Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Definition of 'any' for protocol?

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 1.2k 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.
    • D
      danswartz
      last edited by

      I found out the hard way that when you create a rule via the webGUI that says 'any' for the protocol, that really means 'tcp' :(  This is on 1.2.3RC3.  I have a WLAN bridged to the LAN and created the allow any => any proto any rule and was surprised to see UDP being blocked according to the filter log.  Dumped the rules and saw:

      
      pass in quick on ath0 all flags S/SA keep state label "USER_RULE"
      
      

      As far as I know, there is no syn or ack flags for UDP, so how can this work?  I changed it to tcp and added an explicit rule for UDP too, and now see this:

      
      pass in quick on ath0 proto tcp all flags S/SA keep state label "USER_RULE"
      pass in quick on ath0 proto udp all keep state label "USER_RULE"
      
      

      Am I missing something here?  I think this also explains why my polycom320 office phone was not able to boot successfully (the bootp was being blocked.)

      1 Reply Last reply
      Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy