mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-12 04:23:04 +02:00
occtl
This commit is contained in:
parent
336953398a
commit
de93e5a397
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user