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

    ACB (autoconfig backup) and router image files

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    2 Posts 2 Posters 303 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.
    • M
      mcb00a
      last edited by

      Hello,

      So from my understanding, the ACB uses some kind of identifier to generate the ACB key for the router.

      If we wanted to keep a router image (like a VM, or an XML file) to deploy to multiple different routers for multiple different clients, how to we change the ACB key for each image we install?

      We have tried with a VM image in the lab and each one we spin up, has the same ACB key as its based off the image some how.

      Is there a script to run to generate a new key or some setting we can change to force a new key creation?

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by Derelict

        Like it says on the ACB configuration page, it is derived from the generated ssh key. The ssh key is generated uniquely for every installation.

        Probably uncheck ssh, rm /etc/ssh/*.key /etc/ssh/*.pub then re-enable ssh. A new key should be generated.

        Or just disable ssh and remove those files and use that as your snapshot. Then a new key will be generated when/if ssh is enabled.

        I didn't test any of this but that is the kind of thing I would expect to work for you.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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