Show Automatically generated rules?



  • 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.


  • Rebel Alliance Developer Netgate

    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



  • @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.


Log in to reply