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

Tailscale UI config Overwrites CLI config on Reboot

Scheduled Pinned Locked Moved Tailscale
3 Posts 2 Posters 160 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.
  • B
    brian.remsen
    last edited by Feb 6, 2025, 4:46 PM

    I did some further tests, and I suspect there’s a conflict between the configuration in the web UI and CLI. Here were my observations:

    Advertise a route in the web UI.
    Advertise an additional route in the CLI.
    tailscale debug prefs displays both routes.
    Reboot the machine.
    tailscale debug prefs only displays the route configured in the web UI.
    Basically, whatever configuration the web UI has, overwrites the CLI configuration on boot.

    G 1 Reply Last reply Feb 7, 2025, 12:06 PM Reply Quote 0
    • G
      Gertjan @brian.remsen
      last edited by Gertjan Feb 7, 2025, 12:07 PM Feb 7, 2025, 12:06 PM

      @brian-remsen

      👍

      You've discovered what pfSense is all about : a GUI driven system.

      The GUI prepares config files, used by process to do tasks. The settings change (in the GUI) ? Then it recreates the config files, and if needed restarts the process.

      Core OS things like 'routes' : it's the GUI that adds removes or changes them for you. Behind the curtains it will execute the same system (CLI ?) commands.
      The GUI is not going to presume that item 1,2,3,4,8 and 9 are present and 7 has to be added.
      It removes them all (clean known state) and then add 1,2,3,4,7, 8 and 9.
      You've added 6 using the CLI ? It will be gone, as the GUI wasn't aware if it existence.

      Full control is possible. Install this and you are the CLI chef. No more GUI doing things behind your back.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      B 1 Reply Last reply Feb 7, 2025, 6:03 PM Reply Quote 0
      • B
        brian.remsen @Gertjan
        last edited by Feb 7, 2025, 6:03 PM

        @Gertjan

        Thanks for the reply! Thats what I was afraid of. We have 100s of pfsense/tailscale nodes that we don't have UI access to. We use Ansible to automatically configure them in a remote fashion, everything was fine until this routes issue. But I will check out the link.

        Thanks again!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received