The officially official Devuan Forum!

You are not logged in.

#1 Hardware & System Configuration » OPENVPN - Setting up service for a given user » 2022-05-10 17:09:36

draden
Replies: 1

My aim is to forget the use of sudo / su command for starting openvpn service on Devuan. Running it so has the possibility for some hostile parties to gain control of its terminal session -which is unlikely- but I would like to make it a way more secure.

For the first step I'd create a user with only access to /etc/openvpn:
sudo adduser vpnhandler
sudo chown -R vpnhandler:vpnhandler /etc/openvpn

Then it would be great to set it up as a service which is auto-started by vpnhandler so I don't have to type openvpn xxxxx.ovpn in the terminal every time with that user.

Can someone help me with this? I'm open to any idea.

#2 Hardware & System Configuration » [SOLVED] How to auto-start an application during booting » 2022-04-21 11:57:45

draden
Replies: 2

I would like to enable the firewall (ufw) and also TOR on my system's startup (Chimaera). I found that i need to update rc.local and add the following:

    if [ -x /lib/ufw/ufw-init ]; then
    /lib/ufw/ufw-init start
    fi

Is that correct? Can someone help me how to configure these two process correctly? Also, openvpn auto-connect would be great. Now I am using cd /etc/openvpn sudo openvpn ....ovpn command in terminal.

Thanks!

Board footer

Forum Software