Hello,
On 5/10/23 15:32, [email protected] wrote:
Does someone have all the steps in order to setup a chroot jail on debian 11 OS
-
I have followed
[this](https://manpages.debian.org/testing/stunnel4/stunnel.8.en.html) mostly -
but think I am going to miss some differences to Debian 11 and go down a rabbit
hole.
Anyone have done it on Debian 11 care to share the steps?
Config e.g. /etc/stunnel/stunnel.conf
chroot = /var/lib/stunnel4/
setuid = stunnel4
setgid = stunnel4
; PID is created inside the chroot jail
pid = /stunnel4.pid
... [whatever else you need]
$ sudo mkdir /var/lib/stunnel4
$ sudo chown stunnel4:stunnel4 /var/lib//stunnel4
$ sudo chmod 0755 /var/lib/stunnel
$ sudo service stunnel4 start
Should be done. Most of the above should have already been done by:
$ sudo apt-get install stunnel4
-chris
_______________________________________________
stunnel-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]