Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/reposi
ENV OPENVPN=/etc/openvpn
ENV EASYRSA=/usr/share/easy-rsa \
EASYRSA_CRL_DAYS=3650 \
EASYRSA_CERT_EXPIRE=3650 \
EASYRSA_PKI=$OPENVPN/pki

VOLUME ["/etc/openvpn"]
Expand Down
2 changes: 2 additions & 0 deletions bin/ovpn_getclient
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ tls-auth ta.key 1

if [ "$OVPN_COMP_LZO" == "1" ]; then
echo "comp-lzo"
else
echo "comp-lzo no"
fi

if [ -n "$OVPN_OTP_AUTH" ]; then
Expand Down
4 changes: 4 additions & 0 deletions bin/ovpn_run
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,9 @@ if [ $? = 0 ]; then
fi
fi

if [ -f "$OPENVPN/ovpn_after_run.sh" ]; then
source "$OPENVPN/ovpn_after_run.sh"
fi

echo "Running 'openvpn ${ARGS[@]} ${USER_ARGS[@]}'"
exec openvpn ${ARGS[@]} ${USER_ARGS[@]}