티스토리 뷰

___기타

[VPN] SoftEther VPN 설치 및 설정-1

변군 변군이글루 2020. 7. 25. 13:46

SoftEther VPN 설치

패키지 다운로드 : http://softether-download.com/en.aspx

# cd /usr/local/src/
# wget https://www.softether-download.com/files/softether/v4.34-9745-rtm-2020.04.05-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.34-9745-rtm-2020.04.05-linux-x64-64bit.tar.gz
 
# tar xvfz softether-vpnserver-v4.34-9745-rtm-2020.04.05-linux-x64-64bit.tar.gz -C /usr/local/
# cd /usr/local/vpnserver
# make i_read_and_agree_the_license_agreement

# chmod 600 *
# chmod 700 vpncmd
# chmod 700 vpnserver

systemd 생성

- /lib/systemd/system/vpnserver.service

vi /lib/systemd/system/vpnserver.service

[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

 

vpn start

SoftEther VPN Server service program
Copyright (c) SoftEther VPN Project. All Rights Reserved.

vpnserver command usage:
 vpnserver start  - Start the SoftEther VPN Server service.
 vpnserver stop   - Stop the SoftEther VPN Server service if the service has been already started.
 
 $ /usr/local/vpnserver/vpnserver start

 

VPN 설정

매니저 툴로 서버 접근

 

댓글
댓글쓰기 폼