Some fixes
This commit is contained in:
parent
20f3b9e860
commit
3fbce9205a
2 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,7 @@ fi
|
||||||
if [ -d /srv/haproxy ]
|
if [ -d /srv/haproxy ]
|
||||||
then
|
then
|
||||||
# Start Haproxy
|
# Start Haproxy
|
||||||
echo -n "Start OpenVPN ... "
|
echo -n "Start Haproxy ... "
|
||||||
/usr/sbin/haproxy -f /srv/haproxy/haproxy.cfg
|
/usr/sbin/haproxy -f /srv/haproxy/haproxy.cfg
|
||||||
echo done.
|
echo done.
|
||||||
else
|
else
|
||||||
|
|
|
@ -18,6 +18,7 @@ tun-mtu 1500
|
||||||
# cp /srv/openvpn/secret.key /etc/openvpn/secret.key
|
# cp /srv/openvpn/secret.key /etc/openvpn/secret.key
|
||||||
# chmod 400 /srv/openvpn/secret.key /etc/openvpn/secret.key
|
# chmod 400 /srv/openvpn/secret.key /etc/openvpn/secret.key
|
||||||
secret secret.key
|
secret secret.key
|
||||||
|
cipher AES-256-CBC
|
||||||
|
|
||||||
# Keepalive
|
# Keepalive
|
||||||
ping 30
|
ping 30
|
||||||
|
|
Loading…
Reference in a new issue