serveconfig: Remove
* Use the openvpn.sh wrapper script instead
This commit is contained in:
parent
422c2a302d
commit
7944bcd9fe
@ -1,14 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
cd /etc/openvpn
|
|
||||||
|
|
||||||
[ -f client.http ] || {
|
|
||||||
echo "Please run the OpenVPN container at least once in normal mode,"
|
|
||||||
echo "to generate the client configuration file. Thank you."
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "https://$(curl -s http://myip.enix.org/REMOTE_ADDR):8080/"
|
|
||||||
socat -d -d \
|
|
||||||
OPENSSL-LISTEN:8080,fork,reuseaddr,key=key.pem,certificate=cert.pem,verify=0 \
|
|
||||||
EXEC:'cat client.http' \
|
|
||||||
2>> http8080.log
|
|
Loading…
Reference in New Issue
Block a user