mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-04-15 11:47:09 +02:00
occtl
This commit is contained in:
parent
336953398a
commit
de93e5a397
@ -14,6 +14,7 @@ RUN set -xe \
|
|||||||
curl \
|
curl \
|
||||||
gnutls-bin \
|
gnutls-bin \
|
||||||
iptables \
|
iptables \
|
||||||
|
less \
|
||||||
libdbus-1-3 \
|
libdbus-1-3 \
|
||||||
libdbus-1-dev \
|
libdbus-1-dev \
|
||||||
libev4 \
|
libev4 \
|
||||||
@ -96,7 +97,8 @@ ENV VPN_DOMAIN=vpn.easypi.info \
|
|||||||
LAN_NETWORK=192.168.0.0 \
|
LAN_NETWORK=192.168.0.0 \
|
||||||
LAN_NETMASK=255.255.0.0 \
|
LAN_NETMASK=255.255.0.0 \
|
||||||
VPN_USERNAME=username \
|
VPN_USERNAME=username \
|
||||||
VPN_PASSWORD=password
|
VPN_PASSWORD=password \
|
||||||
|
TERM=xterm
|
||||||
|
|
||||||
EXPOSE 443/tcp 443/udp
|
EXPOSE 443/tcp 443/udp
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ ocserv:
|
|||||||
> - :warning: Please choose a strong password to protect VPN service.
|
> - :warning: Please choose a strong password to protect VPN service.
|
||||||
> - These environment variables are used to generate config files/keys.
|
> - These environment variables are used to generate config files/keys.
|
||||||
> - VPN accounts can be managed via [ocpasswd][2] command.
|
> - 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.
|
> - You can edit the config file [/etc/ocserv/ocserv.conf][3], then restart service.
|
||||||
|
|
||||||
## up and running
|
## up and running
|
||||||
|
Loading…
x
Reference in New Issue
Block a user