«   2021/03   »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
03-09 09:52
관리 메뉴


[VPN] Linux에서 SoftEther VPN 클라이언트 설치 본문

* 리눅스

[VPN] Linux에서 SoftEther VPN 클라이언트 설치

변군 변군이글루 2020. 12. 29. 17:11

SoftEther VPN 클라이언트 설치

softether-vpnclient 설치

$ cd /usr/local/src/

$ wget https://www.softether-download.com/files/softether/v4.34-9745-rtm-2020.04.05-tree/Linux/SoftEther_VPN_Client/64bit_-_Intel_x64_or_AMD64/softether-vpnclient-v4.34-9745-rtm-2020.04.05-linux-x64-64bit.tar.gz

$ tar xvfz softether-vpnclient-v4.34-9745-rtm-2020.04.05-linux-x64-64bit.tar.gz

$ make

SoftEther VPN Client (Ver 4.34, Build 9745, Intel x64 / AMD64) for Linux Install Utility
Copyright (c) SoftEther Project at University of Tsukuba, Japan. All Rights Reserved.


Do you want to read the License Agreement for this software ?

 1. Yes
 2. No

Please choose one of above number:


Did you read and understand the License Agreement ?
(If you couldn't read above text, Please read 'ReadMeFirst_License.txt'
 file with any text editor.)

 1. Yes
 2. No

Please choose one of above number:

Did you agree the License Agreement ?

1. Agree
2. Do Not Agree

Please choose one of above number:

make[1]: Entering directory `/usr/local/vpnclient'
Preparing SoftEther VPN Client...
ranlib lib/libcharset.a
ranlib lib/libcrypto.a
ranlib lib/libedit.a
ranlib lib/libiconv.a
ranlib lib/libintelaes.a


The preparation of SoftEther VPN Client is completed !

*** How to switch the display language of the SoftEther VPN Client Service ***
SoftEther VPN Client supports the following languages:
  - Japanese
  - English
  - Simplified Chinese

You can choose your prefered language of SoftEther VPN Client at any time.
To switch the current language, open and edit the 'lang.config' file.


*** How to start the SoftEther VPN Client Service ***

Please execute './vpnclient start' to run the SoftEther VPN Client Background Service.
And please execute './vpncmd' to run the SoftEther VPN Command-Line Utility to configure SoftEther VPN Client.

Of course, you can use the VPN Server Manager GUI Application for Windows / Mac OS X on the other Windows / Mac OS X computers in order to configure the SoftEther VPN Client remotely.


*** PacketiX VPN Server HTML5 Web Administration Console (NEW) ***
This VPN Server / Bridge has the built-in HTML5 Web Administration Console.

After you start the server daemon, you can open the HTML5 Web Administration Console is available at

This HTML5 page is obviously under construction, and your HTML5 development contribution is very appreciated.


make[1]: Leaving directory `/usr/local/vpnclient'

vpnclient 기동

vpnclient start

$ /usr/local/src/vpnclient/vpnclient start
The SoftEther VPN Client service has been started.

$ ps -ef | grep -v grep | grep vpn
root     11633     1  0 16:45 ?        00:00:00 /usr/local/src/vpnclient/vpnclient execsvc
root     11634 11633  0 16:45 ?        00:00:00 /usr/local/src/vpnclient/vpnclient execsvc

vpnclient 설정

vpncmd /client localhost

$ /usr/local/src/vpnclient/vpncmd /client localhost

NicCreate tun0

VPN Client>NicCreate tun0
NicCreate command - Create New Virtual Network Adapter
The command completed successfully.

AccountCreate DVPN

VPN Client>AccountCreate DVPN
AccountCreate command - Create New VPN Connection Setting
Destination VPN Server Host Name and Port Number:

Destination Virtual Hub Name: DVPN

Connecting User Name: vpn_user

Used Virtual Network Adapter Name: tun0

The command completed successfully.

AccountPassword vpn_user
Password: *********
Confirm input: *********
Specify standard or radius: radius

VPN Client>AccountPassword vpn_user
AccountPasswordSet command - Set User Authentication Type of VPN Connection Setting to Password Authentication
Please enter the password. To cancel press the Ctrl+D key.

Password: *********
Confirm input: *********

Specify standard or radius: radius

Error occurred. (Error code: 36)
The specified VPN Connection Setting does not exist.

AccountConnect DVPN

VPN Client>AccountConnect DVPN
AccountConnect command - Start Connection to VPN Server using VPN Connection Setting
The command completed successfully.


VPN Client>AccountList
AccountList command - Get List of VPN Connection Settings
Item                        |Value
VPN Connection Setting Name |DVPN
Status                      |Connecting
VPN Server Hostname         | (Direct TCP/IP Connection)
Virtual Hub                 |DVPN
Virtual Network Adapter Name|tun0
The command completed successfully.

ifconfig vpn_tun0

$ ifconfig vpn_tun0
vpn_tun0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::5c75:beff:fea0:3ad8  prefixlen 64  scopeid 0x20<link>
        ether 5e:75:be:a0:3a:d8  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

dhclient -v vpn_tun0

$ dhclient -v vpn_tun0

route add -host gw dev vpn_tun0



댓글쓰기 폼