Navigation

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

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

    OpenVPN
    3
    4
    2282
    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
      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
      • johnpoz
        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
        2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

        1 Reply Last reply Reply Quote 0
        • H
          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
            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