본문 바로가기

기타

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

반응형

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 설정

매니저 툴로 서버 접근

 

728x90
반응형

'기타' 카테고리의 다른 글

Confluence 책갈피 생성(anchor)  (0) 2020.09.11
[VPN] SoftEther VPN 설치 및 설정-2  (0) 2020.07.26
[Mac] geoiplookup 명령어 설치  (0) 2018.09.07
[URL] Rackmonkey  (0) 2017.06.07
[SSL] pfx를 jks로 변환 방법  (0) 2016.05.30