1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
This commit is contained in:
kev 2016-06-30 03:26:48 +08:00
parent 336953398a
commit de93e5a397
2 changed files with 4 additions and 1 deletions

@ -14,6 +14,7 @@ RUN set -xe \
curl \
gnutls-bin \
iptables \
less \
libdbus-1-3 \
libdbus-1-dev \
libev4 \
@ -96,7 +97,8 @@ ENV VPN_DOMAIN=vpn.easypi.info \
LAN_NETWORK=192.168.0.0 \
LAN_NETMASK=255.255.0.0 \
VPN_USERNAME=username \
VPN_PASSWORD=password
VPN_PASSWORD=password \
TERM=xterm
EXPOSE 443/tcp 443/udp

@ -30,6 +30,7 @@ ocserv:
> - :warning: Please choose a strong password to protect VPN service.
> - These environment variables are used to generate config files/keys.
> - VPN accounts can be managed via [ocpasswd][2] command.
> - VPN status can be viewed via `occtl` command
> - You can edit the config file [/etc/ocserv/ocserv.conf][3], then restart service.
## up and running