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

    pfSense as a one-way logical data diode (outside → inside only) for software updates and file transfer via a staging server

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 137 Views 1 Watching
    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.
    • E
      elija
      last edited by

      Hello everyone,

      I want to use our existing pfSense as a logical data diode between an open network (with internet) and a secure, isolated network (no internet). Data such as software updates and files should only flow into the secure network, and nothing (no ACKs, ICMP or DNS) may ever flow back.

      Plan:

      A staging server in the open network downloads updates and pushes them via UDP only (e.g. UDPcast/uftp) to a receiving server in the secure network, which acts as a local update mirror.
      Open interface: Pass UDP from the staging server to the receiving server only, State Type = None.
      Secure interface: Top-level Block all outbound, State Type = None.

      Questions:

      Is this the right approach with pf, or are floating rules needed as well?
      Can anything still leak outward (ICMP errors, pfSense’s own traffic, auto-generated rules like anti-lockout)?
      How can I verify via CLI (pfctl, tcpdump) that no states are created and no packets leave the secure side?
      Any recommended tools for reliable one-way UDP file transfer without a return channel?

      Thanks a lot for your help!

      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