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

    firewall rules interface: difference between TCP/UDP and two different rules for tcp and udp

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 336 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.
    • N
      nuclearstrength
      last edited by nuclearstrength

      this might come alongs as a stupid question but yesterday I had a weird occurrence on the latest build (2.5.1) where I opened a port on wan (1194 for openvpn) and it worked only when selecting UDP, it didn't when I was selecting TCP/UDP, the openvpn service is listening on UDP but I might just make it TCP on 443 or even 80 in order for my users to not be blocked by firewalls allowing only web surfing (some hotels do this in europe).

      I was under the impression that TCP/UDP means any of those two protocols, isn't this the case?
      is this a bug in the latest build? am I missing something?

      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @nuclearstrength
        last edited by

        @nuclearstrength

        I can't speak about your issue, though I expect it should pass both. However, with firewalls you only open what you need. If you use only UDP for OpenVPN, then you only open UDP.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

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