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

    Show Automatically generated rules?

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 1.1k 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.
    • J
      jg3
      last edited by

      Is there a way (perhaps from the shell?) to show the NAT rules that are running when I have the "Automatic outbound NAT rule generation" option selected?

      I want to know what's running now so I don't break currently-working stuff if I move to Manually created NAT rules.

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

        make sure you have no rules in the list, then switch from auto to manual, without applying, and then switch back.

        What you will get in the screen after the auto->manual switch is the full list.

        Otherwise you can poke around in /tmp/rules.debug and read them there but it's not quite so obvious as when they're shown in the GUI

        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
        • J
          jg3
          last edited by

          @jimp:

          make sure you have no rules in the list, then switch from auto to manual, without applying, and then switch back.

          What you will get in the screen after the auto->manual switch is the full list.

          Otherwise you can poke around in /tmp/rules.debug and read them there but it's not quite so obvious as when they're shown in the GUI

          Awesome! Thanks, Jimp.

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