@@ -1,16 +1,12 @@
-FROM debian:latest
+FROM debian:10
-COPY files/* /opt/
+ENV DOWNLOAD_URL https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.31-9727-beta/softether-vpnserver-v4.31-9727-beta-2019.11.18-linux-x64-64bit.tar.gz
-RUN apt-get update && \
- apt-get install -y curl tar gzip grep make gcc cpp
-RUN tar xzfp /opt/softether.tar.gz -C /opt && \
- rm -f /opt/softether.tar.gz
-RUN cd /opt/vpnserver && \
- ls -hal && \
- #make i_read_and_agree_the_license_agreement
- make
+RUN apt-get update && apt-get install -y curl tar gzip grep make gcc cpp
+RUN curl -L -o /opt/softether.tar.gz $DOWNLOAD_URL && tar xzfp /opt/softether.tar.gz -C /opt
+RUN cd /opt/vpnserver && make i_read_and_agree_the_license_agreement
+COPY files/* /opt/
RUN chmod 755 /opt/*.sh
#ENTRYPOINT /bin/bash
@@ -25,7 +25,6 @@ docker-compose up -d
- start the VPN server
- connect to the server with SoftEther Server Manager Tool from Windows or macOS
- - the new Web Administration Console (still under construction) available on port 9443 (in the container: 443)
Notice:
sometimes the default 443 port is used by another service, so use another available port like 5555, 8888...
@@ -16,7 +16,6 @@ services:
# network_mode: host
# with normal mode - you cant add any local bridge, but every service on vpn host is accessible
ports:
- - '9443:443'
- '5443:5443'
- '5555:5555'
- '55555:55555'