container-openvpn/bin/serveconfig

11 lines
269 B
Plaintext
Raw Normal View History

2013-09-02 23:46:19 +00:00
#!/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