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

    Manually change a config file

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 1 Posters 618 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.
    • N
      Norbert78
      last edited by

      Hi forum,
      I need to change a config file for openvpn manually. The file lays under /var/etc/openvpn and is a client configuration.
      However, when logging in to my pfsens via ssh and changing the file, I always get an error: file cannot be written (even though I'm using sudo). And when I create a new file  in this folder it is gone after a reboot.
      So my question is obvious: What do I have to do to get manual access to such a file?

      Thanks
      Norbert

      1 Reply Last reply Reply Quote 0
      • N
        Norbert78
        last edited by

        Argh, I just found out that I myself put the immutable flag on for this config file. After turning this off, everything behaves again as expected…..

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