This commit is contained in:
Bob Mottram 2017-09-30 19:51:15 +01:00
parent 35b4222595
commit c4b77f7df3
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ function install_stunnel {
echo 'connect = localhost:1194' >> $prefix/etc/stunnel/stunnel.conf
echo 'cert = /etc/stunnel/stunnel.pem' >> $prefix/etc/stunnel/stunnel.conf
sed -i 's|ENABLED=.*|ENABLED=1|g' /etc/default/stunnel4
sed -i 's|ENABLED=.*|ENABLED=1|g' $prefix/etc/default/stunnel4
echo '[openvpn]' > $prefix/etc/stunnel/stunnel-client.conf
echo 'client = yes' >> $prefix/etc/stunnel/stunnel-client.conf