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



  • 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)


  • LAYER 8 Global Moderator

    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?



  • @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!  :)



  • Have you tried  Diagnostics -> Command Prompt

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


Log in to reply