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

    Suricata Inline IPS breaks VLAN interfaces

    Scheduled Pinned Locked Moved IDS/IPS
    3 Posts 2 Posters 450 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.
    • A
      abtekk
      last edited by

      I have 3 VLANs set up (1, 10, 20) all attached to physical interface igb1. Enabling Inline IPS mode seems to kill all firewall & internet access completely on that interface.
      Legacy mode doesn't seem to do this.

      Is there any way to get this working?

      1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks
        last edited by bmeeks

        VLANs and Inline IPS Mode basically hate each other ... 🙂.

        It is due to how the netmap device interacts with virtual interfaces, and a VLAN is a virtual interface on top of a physical interface.

        The recommended way to do this is to run the Suricata instance on the physical parent interface. Usually that will work. But if you have tried that and still have problems, then likey your particluar NIC driver and netmap are not playing well together. And if that is the case, then Legacy Mode is what you will have to use.

        There has been some work done by the OPNsense team and Klara (I believe) to improve the interoperability of netmap and virtual interfaces. However, I don't think all of their changes have been mainlined into FreeBSD upstream yet. They have released some of their fixes into OPNsense. Once all of their fixes are mainlined into FreeBSD upstream, then they will eventually get pulled into pfSense as part of syncing FreeBSD with upstream.

        A 1 Reply Last reply Reply Quote 1
        • A
          abtekk @bmeeks
          last edited by

          @bmeeks Thank you. Yes, I did actually try attaching Suricata to the parent, but it still caused problems. I'll have a play with legacy mode and see how that works.

          Thank you.

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