Archive | September 2015

SoftEther Server

The SoftEther VPN server installation is fairly well documented at http://www.softether.org.  The download file for x64 is http://www.softether-download.com/files/softether/v4.18-9570-rtm-2015.07.26-tree/Linux/SoftEther_VPN_Client/64bit_-_Intel_x64_or_AMD64/softether-vpnclient-v4.18-9570-rtm-2015.07.26-linux-x64-64bit.tar.gz

What isn’t document is how to start the service under CentOS, which uses the new systemd files for services instead of the init.d scripts that SoftEther is expecting.

  1. Create a file in /etc/systemd/system named vpnserver.service.  This should be owned by root, have attributes 644 and contain:

    #  This file is part of systemd.
    #

    [Unit]
    Description=Vpnserver
    #Documentation=
    DefaultDependencies=no
    #Requires=
    #After=
    [Service]
    Type=simple
    ExecStart=/usr/local/vpnserver/vpnserver start
    ExecStop=/usr/local/vpnserver/vpnserver stop
    [Install]
    WantedBy=multi-user.target

  2. sudo systemctl enable vpnserver
  3. systemctl start vpnserver
    systemctl status vpnserver # optional, just to verify