diff --git a/ocserv/Dockerfile b/ocserv/Dockerfile index f65f0ce..e13cf6e 100644 --- a/ocserv/Dockerfile +++ b/ocserv/Dockerfile @@ -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 diff --git a/ocserv/README.md b/ocserv/README.md index 0a1710d..371cf65 100644 --- a/ocserv/README.md +++ b/ocserv/README.md @@ -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