Public | Automated Build

Last pushed: 9 months ago
Short Description
softether VPN on debian / alpine
Full Description


Thanks frosquin

Docker image for SoftEther VPN

This will deploy a fully functional SoftEther VPN server as a docker image.

Available on Docker Hub.

Download

docker pull babim/softether

Run

Simplest version:

docker run -d --net host --name softether babim/softether

With external config file:

docker run -d --net host --name softether -v /data/vpnconfig:/vpn babim/softether

volume dir:

/vpn/vpn_server.config
/vpn/logvpn
create auto if empty

With external config file: (option 2)

touch /etc/vpnserver/vpn_server.config
docker run -d -v /etc/vpnserver/vpn_server.config:/usr/local/vpnserver/vpn_server.config --net host --cap-add NET_ADMIN --name softether babim/softether

If you want to keep the logs in a data container:

docker run -d --name softether-logs --volume /var/log/vpnserver busybox:latest /bin/true
docker run -d --net host --cap-add NET_ADMIN --name softether --volumes-from softether-logs babim/softether

All together now:

touch /etc/vpnserver/vpn_server.config
docker run -d --name softether-logs --volume /var/log/vpnserver busybox:latest /bin/true
docker run -d -v /etc/vpnserver/vpn_server.config:/usr/local/vpnserver/vpn_server.config --volumes-from softether-logs --net host --cap-add NET_ADMIN --name softether babim/softether
Docker Pull Command
Owner
babim
Source Repository

Comments (0)