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

    CLI command for Saving & Applying configuration changes without rebooting?

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 788 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.
    • S
      SpaceAvenger
      last edited by

      I have a script I run that pulls assigned port forwards from PIA and adds these ports to an alias every hour. While these ports show up in the alias they are not really open until I manually save/apply the alias. Is there a cli command I can add to the end of my script that saves/applies these changes automatically?

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Like /etc/rc.reload_all ?

        1 Reply Last reply Reply Quote 0
        • S
          SpaceAvenger
          last edited by

          Doesn't look like that's working. I've tried it both in the script and through SSH.  For whatever reason, this isn't working. Seems to hang my machine. At least the VPN interface.

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Well, it certainly doesn't hang anything. If you do this over VPN, well then that's a bad idea. If you want something less intrusive, use filter_configure_sync().

            Not a fan of similar craptastic hacks like messing with something from CLI that's not supposed to be used from CLI at all.

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