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

    Suggestion: Copy rules from one interface to another

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 3.5k 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.
    • K
      ktims
      last edited by

      I have recently set up a pfSense box at an office with many independent businesses sharing the same network. I'm working on getting each business set up under a separate VLAN for security, all connecting through the same pfSense box. We're doing multi-WAN as well for failover so I have a number of policy routes to send various traffic out the different WANs. There are probably about a dozen rules for each LAN interface that I need to manually create for each network. They're all identical (or can be made to be) except for references to the current interface address/subnet and the actual interface they apply to.

      My suggestion is for an interface to copy selected rules from one interface to another and automatically change the interface and any 'Interface Subnet' or 'Interface Address' references.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        In 2.0 there are "Interface Groups" where you can join multiple similar interfaces together. I believe you can still have separate interface-specific rules when using groups.

        You can probably use this to accomplish the task, but it isn't something that will find its way back into 1.2.x.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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