728x90
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:
1
...
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:
1
Did you agree the License Agreement ?
1. Agree
2. Do Not Agree
Please choose one of above number:
1
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
https://127.0.0.1:5555/
or
https://ip_address_of_the_vpn_server:5555/
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
111.111.111.111:443
DVPN
vpn_user
tun0
VPN Client>AccountCreate DVPN
AccountCreate command - Create New VPN Connection Setting
Destination VPN Server Host Name and Port Number: 111.111.111.111:443
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.
AccountList
VPN Client>AccountList
AccountList command - Get List of VPN Connection Settings
Item |Value
----------------------------+----------------------------------------------
VPN Connection Setting Name |DVPN
Status |Connecting
VPN Server Hostname |111.111.111.111:443 (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 222.222.222.222 gw 192.168.0.1 dev vpn_tun0
728x90
'리눅스' 카테고리의 다른 글
[draft] whois 명령어 (0) | 2021.12.07 |
---|---|
쿠버네티스 실습 환경(플레이그라운드) (0) | 2021.12.07 |
[draft] lftp와 FileZilla를 사용한 FTPS 클라이언트 설정 방법 (0) | 2021.12.06 |
openssl 인증서 만료일 조회 (0) | 2021.12.05 |
[draft] 웹 프록시 자동 검색 프로토콜을 적용하는 방법 (0) | 2021.12.03 |