Odroid SoftetherVPN 설치

  • Post author:
  • Post category:Linux
 [root@linux ~] wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.38-9760-rtm/softether-vpnserver-v4.38-9760-rtm-2021.08.17-linux-arm_eabi-32bit.tar.gz
[root@linux ~] tar zxvf softether-vpnserver-v4.38-9760-rtm-2021.08.17-linux-arm_eabi-32bit.tar.gz
[root@linux ~] cd vpnserver
[root@linux ~] make

[root@linux ~] cd ..
[root@linux ~] mv vpnserver /sw
------------------------------------------------------------
서비스 등록
------------------------------------------------------------

[root@linux ~] sudo vi /lib/systemd/system/vpnserver.service

[Unit]
Description=SoftEther VPN Server
After=network.target

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

[Install]
WantedBy=multi-user.target


[root@linux ~] sudo systemctl enable vpnserver.service

443 port 사용중이면 /sw/vpnserver/vpn_server.config 를 열어서
ListenerList에서 port를 수정한 후 시작

service vpnserver start

-----------------------------------------------------------
admin 비밀번호
------------------------------------------------------------
[root@linux ~] /sw/vpnserver/vpncmd
  1. Management of VPN Server or VPN Bridge : 선택
     Hostname of IP Address of Destination: 192.168.10.14:444 <= vpnserver 서버주소:포트 입력
     Specify Virtual Hub Name: <= 입력하지 않고 엔터
    
     VPN Server> ServerPasswordSet <= 비밀번호 초기화 명령어

[root@linux ~] service vpnserver restart