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

    How do i change ownership of: "'/var/etc/openvpn/client1.up'"

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 3.5k 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.
    • H Offline
      harryjohnsonab
      last edited by

      Hello!

      I got my PrivateInternetAccess VPN working with OpenVPN. I am getting this WARNING though: "WARNING: file '/var/etc/openvpn/client1.up' is group or others accessible ".

      How do i change the ownership of the file to only the root user?

      I am currently navigated to: Diagnostics -> Edit File -> /var/etc/openvpn/client1.up

      My device: Pfsense SG-1000

      Thanks guys!  8)

      1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator
        last edited by

        How exactly do you have your client setup in pfsense, I have a client connection to a vpn server that I use for policy routing and there is not client.up file - there is clientX.inferface file and etc..  But no .up file

        Bu you would change ownership of the file just like with any other linux/bsd os - chown and set the group ownership how ever you want it.

        So its working, your just getting that warning where?  In the openvpn log?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 25.07 | Lab VMs 2.8, 25.07

        1 Reply Last reply Reply Quote 0
        • H Offline
          harryjohnsonab
          last edited by

          @johnpoz:

          How exactly do you have your client setup in pfsense, I have a client connection to a vpn server that I use for policy routing and there is not client.up file - there is clientX.inferface file and etc..  But no .up file

          Bu you would change ownership of the file just like with any other linux/bsd os - chown and set the group ownership how ever you want it.

          So its working, your just getting that warning where?  In the openvpn log?

          I followed this setup guide: https://www.youtube.com/watch?v=ybcc-OBi7kQ&t=1081s&list=WL&index=314

          Its just a warning - and since i am the only user i guess its not that critical.
          How do i access a terminal to chance those permissions though? Can you launch one in the webui?

          Thanks for the answer!  :)

          1 Reply Last reply Reply Quote 0
          • G Offline
            gjaltemba
            last edited by

            Have you tried  Diagnostics -> Command Prompt

            ls -la /var/etc/openvpn
            chmod 0600 /var/etc/openvpn/client1.up

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