[Solved] Need help with tls-crypt-v2-verify and chroot.
Posted: Wed Dec 06, 2023 9:41 pm
Can't seem to set up tls-crypt-v2-verify metacheck while chroot jail is on.
If i comment out chroot jail everything is ok, but with it I get:
#!/bin/bash
echo "######### WORKS #########"
exit 0
I've placed metacheck file in /etc/openvpn/ and in /etc/openvpn/jail/ folders.
Did chmod -R 777 /etc/openvpn while testing.
chroot jail
tls-crypt-v2-verify metacheck
script-security 2
If i comment out chroot jail everything is ok, but with it I get:
File metacheck is simple script just to make this work.2023-12-06 xx:xx:xx us=525116 xxx.xxx.xxx.xxx:xxxxx WARNING: Failed running command (--tls-crypt-v2-verify): could not execute external program
#!/bin/bash
echo "######### WORKS #########"
exit 0
I've placed metacheck file in /etc/openvpn/ and in /etc/openvpn/jail/ folders.
Did chmod -R 777 /etc/openvpn while testing.
Server Config Snip
chroot jail
tls-crypt-v2-verify metacheck
script-security 2