Build softether VPN with Centos7.

Introduction

Here, we will explain the softether setup for intermediate users. The initial server settings are as follows https://qiita.com/honahuku/items/8d74833e649ccc511fdc

The environment is as follows

Server OS:Centos7
Client OS:Windows10
Client software:Tera Term

!! !! Details added

Download & transfer

Download the server software from

https://www.softether-download.com/ja.aspx?product=softether

Software is SoftEther VPN (freeware), The component is Softether Server, Match the platform and CPU to each environment. I was Linux, Intel x64 / AMD64 (64bit). After this, download the latest version of rtm. As of November 12, 2020, it is Ver 4.34, Build 9745.

Perform SCP (file transfer) with TeraTerm. SSH to the Server and drag the downloaded file to the command screen to display the confirmation window. If you enter with the default settings, the file will be located directly under the user directory. I had softether-vpnclient-v4.34-9745-rtm-2020.04.05-linux-x64-64bit.tar.gz in / root.

Unzip, move files

cd /root
tar zxvf softether-vpnserver-v4.34-9745-rtm-2020.04.05-linux-x64-64bit.tar.gz
cd vpnserver/
make

A confirmation screen such as license will be displayed, so select 1 three times. The operation is automatically confirmed in this.

Passed all checks. SoftEther VPN Server on this system/It seems likely that Bridge will work properly.

If the message is displayed, there should be no problem with the installation.

mv vpnserver/ /usr/local
#It is a file move.

SELinux settings

vim /etc/selinux/config
SELINUX=permissive
reboot

Reboot once for the settings to take effect.

Autostart settings (systemd)

cd /etc/systemd/system
vim softethervpn.service

#Describe the following
[Unit]
Description=SoftEther VPN Server
After=network.target

[Service]
Type=forking
ExecStart=/usr/local/vpnserver/vpnserver start
ExecStop=/usr/local/vpnserver/vpnserver stop

[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable softethervpn
systemctl start softethervpn
systemctl status softethervpn

After this, you can work with the Windows software. See the article below for details.

coming soon

Recommended Posts

Build softether VPN with Centos7.
Build Growai with Centos7
Build DNS server with CentOS8 and bind
Build Doma1 with Ant
Use CentOS with LXD
Centos7 setup (for softether setup)
Build Java with Wercker
Build bazel with alpine
Build GitLab / Mattermost with DockerForWindows
Network install CentOS 8 with Kickstart.
Prepare Python3 environment with CentOS7
Build docker environment with WSL
Connect CentOS 7 to L2TP VPN
Build a CentOS 8 virtual environment on your Mac with VirtualBox
Build Ubuntu 18.04.5 with dual boot
Ninja-build with smart differential build
Build AWS Lambda with Quarkus
[Introduction] Build MVC with Scala
Build DynamoDB local with Docker
Build an environment where pip3 can be used with CentOS7 + Python3
Build Couchbase local environment with Docker
Build a Java project with Gradle
Build a Node.js environment with Docker
Build a Tomcat 8.5 environment with Pleiades 4.8
Build PlantUML environment with VSCode + Docker
Build environment with vue.js + rails + docker
Build Rails environment with Docker Compose
Build a web application with Javalin
WordPress with Docker Compose on CentOS 8
Java build with mac vs code
Build Virtual Box & Vagrant & Centos7 & GitLab
Build jooby development environment with Eclipse
Build Virtual Box & Vagrant & Centos7 & Artifactory
Build docker + laravel environment with laradock
Build WebRTC Janus with Docker container
Spring Boot gradle build with Docker
Switch with CentOS7 series + JDK-9.0.1 + JDK1.8.0 + alternatives
Build a development environment on AWS EC2 with CentOS7 + Nginx + pm2 + Nuxt.js