11 lines
269 B
Plaintext
11 lines
269 B
Plaintext
|
#!/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
|
||
|
}
|
||
|
|
||
|
socat TCP-LISTEN:8080,reuseaddr - < client.http >> http8080.log
|