aladex/softethervpn_server

By aladex

Updated about 1 month ago

A ready-to-deploy SoftetherVPN Server, optimized for quick setup and reliable VPN service.

Image
Networking
1

3.9K

aladex/softethervpn_server repository overview

Versioning:
  • latest: Always points to the latest stable version from the official SoftetherVPN repository.
  • x.x.xxxxx: An example of a version tag (e.g., 5.02.5181), indicating a specific stable release.
  • nightly: The most current build from the latest commit in the SoftetherVPN repository.
  • commit-hash: Example dc2b11918abe0566de69b7ae7bf5450cfbaa3b6d, denotes an image built from a specific commit for exact version requirements.
Running via Docker

Basic Launch:

docker run -d --restart=always --name softether-vpn-server --network host --privileged -v /opt/softetherdata:/mnt aladex/softethervpn_server:latest

Enhanced Security Launch: To improve security, use --cap-add NET_ADMIN instead of --privileged to grant only necessary network administration privileges.

docker run -d --restart=always --name softether-vpn-server --network host --cap-add NET_ADMIN -v /opt/softetherdata:/mnt aladex/softethervpn_server:latest

Temporary Run (Auto-Remove after Stop): For temporary or test deployments, add the --rm flag for automatic removal after stopping.

docker run --rm -d --name softether-vpn-server --network host --cap-add NET_ADMIN -v /opt/softetherdata:/mnt aladex/softethervpn_server:latest

Using Docker Compose: For a managed setup, use Docker Compose. Example docker-compose.yml:

version: '3.8'
services:
  softether-vpn-server:
    image: aladex/softethervpn_server:latest
    container_name: softether-vpn-server
    network_mode: host
    cap_add:
      - NET_ADMIN
    volumes:
      - /opt/softetherdata:/mnt
    restart: always

Note: Possibly does not work bridging to a physical Ethernet adapter

Initial Configuration of SoftetherVPN Server Using vpncmd

To configure the SoftetherVPN Server from the console, you can use vpncmd. Here's how to start:

  1. Access vpncmd: Access the vpncmd tool within the running container by executing:

    docker exec -it softether-vpn-server vpncmd
    
  2. GUI Management: For comprehensive server management, download the SoftetherVPN Server Manager GUI from the official Softether Download Page. This GUI will allow you to connect to your new server and perform configurations, including setting the administrator's password.

Alternatively, all configurations can be performed using vpncmd, but users are encouraged to explore and understand the commands on their own.

Tag summary

Content type

Image

Digest

sha256:eeb75f278

Size

21.5 MB

Last updated

about 1 month ago

docker pull aladex/softethervpn_server:nightly