v4.10-9505-beta src๋ฅผ ๋ค์ด๋ก๋ํ์ฌ Ubuntu 14.04์์ ์ปดํ์ผํ๋๋ฐ ์ค์น๊ฐ ์ ์์ ์ผ๋ก ํ์๋ฉ๋๋ค.
ํ์ง๋ง 'vpnclient start' ๋ช
๋ น ๋๋ ''vpncmd'๋ฅผ ์์ํ๋ฉด ์คํจํฉ๋๋ค...
-- ๊ฒฝ๊ณ : SoftEther VPN ์ปค๋ --
์น๋ช
์ ์ธ ์ค๋ฅ: "hamcore.se2" ํ์ผ์ด ์๊ฑฐ๋ ์์๋์์ต๋๋ค.
hamcore.se2๋ฅผ ํ์ธํ์ธ์.
(๋จผ์ ์ปดํจํฐ๋ฅผ ์ฌ๋ถํ ํ์ญ์์ค. ์ด ๋ฌธ์ ๊ฐ ๋ค์ ๋ฐ์ํ๋ฉด VPN ์ํํธ์จ์ด ํ์ผ์ ๋ค์ ์ค์นํ์ญ์์ค.)
๊ทธ๋ฐ ๋ค์ ์ปดํจํฐ๋ฅผ ์ฌ๋ถํ ํ๋ฉด ๋ค์ ๋ฐ์ํฉ๋๋ค.
๋ด ์ปดํจํฐ์์ hamecore.se2 ํ์ผ์ ๊ฒ์ํ๋๋ฐ ์ข์์..
~$ sudo ์ฐพ๊ธฐ / -์ด๋ฆ 'hamcore.se2' -print
/usr/vpnbridge/hamcore.se2
/usr/vpncmd/hamcore.se2
/usr/vpnclient/hamcore.se2
/usr/vpnserver/hamcore.se2
/home/chance/github/SoftEtherVPN/src/bin/BuiltHamcoreFiles/unix/hamcore.se2
/home/chance/github/SoftEtherVPN/bin/vpnserver/hamcore.se2
/home/chance/github/SoftEtherVPN/bin/vpnclient/hamcore.se2
/home/chance/github/SoftEtherVPN/bin/vpnbridge/hamcore.se2
/home/chance/github/SoftEtherVPN/bin/vpncmd/hamcore.se2
softether.org์์ Linux ์ค์น ๋ฌธ์๋ฅผ ํ์ธํ๋๋ฐ VPN ์ํํธ์จ์ด๊ฐ /usr/local/์ ์ค์น๋๊ณ ์๋ค๊ณ ๋์ ์์ต๋๋ค. ์ ๊ทธ๋ฐ ๊ฒ๋๊น?
๊ฐ์ฌ ํด์
์ด๊ฒ์ ๋์์ด ๋์ง ์์ง๋ง ์ฐ๋ถํฌ 14.04์์ ์๋ฌด ๋ฌธ์ ์์ด SoftEther๋ฅผ ์คํํ๊ณ ์์ต๋๋ค.
๋๋ Linux mint 17.1(Ubuntu 14.04 ๊ธฐ๋ฐ)์ ๊ฐ์ง๊ณ ์์ผ๋ฉฐ ์ง๊ธ๊น์ง ๋ฌธ์ ์์ด ์๋ํฉ๋๋ค(์๋ฒ + ํด๋ผ์ด์ธํธ).
์ฌ์ฉ ๊ฐ๋ฅํ ์ต์ LTS ์ปค๋์ ์ฌ์ฉํฉ๋๋ค.
$ sudo apt-get install linux-image-generic-lts-utopic linux-headers-generic-lts-utopic
$ ์ฌ๋ถํ
์๋ถ ์ธ์ฌ,
pcdummy
๋๋ ๊ฐ์ ๋ฌธ์ ๋ฅผ ๋ง๋๋ค. ๊ทธ๋ฅ ๋ฃจํธ๋ก ์คํํ๋ฉด ๋ชจ๋ ๊ฒ์ด ์ ๋ ๊ฒ์
๋๋ค.
$ sudo VPN ์๋ฒ ์์
๋น๋ ๋๋ ํ ๋ฆฌ์์ ์คํ ํ์ผ์ ์ด๋ํ ๋ ์ด ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ต๋๋ค. ๋ค์ ์ด๋ํ๊ณ ์ฌ๊ธฐ์์ vpnserver
๋ฅผ ์คํํ๋ฉด ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋์์ต๋๋ค.
$ ls -al vpnserver/
-rwxrwxrwx 1 root root 1.9K Jul 26 02:27 Authors.txt*
drwx------ 2 root root 4.0K Aug 3 07:58 chain_certs/
drwxrwxrwx 2 root root 4.0K Aug 3 07:58 code/
-rwxrwxrwx 1 root root 1.3M Jul 26 02:27 hamcore.se2*
-rw------- 1 root root 867 Aug 3 07:58 lang.config
drwxrwxrwx 2 root root 4.0K Aug 3 07:58 lib/
-rwxrwxrwx 1 root root 2.1K Jul 26 02:27 Makefile*
-rwxrwxrwx 1 root root 31K Jul 26 02:27 ReadMeFirst_Important_Notices_cn.txt*
-rwxrwxrwx 1 root root 36K Jul 26 02:27 ReadMeFirst_Important_Notices_en.txt*
-rwxrwxrwx 1 root root 50K Jul 26 02:27 ReadMeFirst_Important_Notices_ja.txt*
-rwxrwxrwx 1 root root 58K Jul 26 02:27 ReadMeFirst_License.txt*
-rwx------ 1 root root 4.4M Aug 3 07:58 vpncmd*
-rwx------ 1 root root 4.4M Aug 3 07:58 vpnserver*
$ ./vpnserver -v
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.
๊ฐ์ ๋ฌธ์ ๊ฐ ์๊ณ ๊ด๋ฆฌ์๋ก ์คํํด๋ ์ฐฝ๊ณผ ๋ฌธ์ ๊ฐ ๋จ์ ์์ต๋๋ค. ๋๋ ํ ๋ฆฌ์ ๊ฐ์ ์ด๋ฆ์ ํ์ผ์ด ์์ง๋ง ํฌ๊ธฐ๋ 0KB์ ๋๋ค. ์ ๊ฑฐ๋ฅผ ์๋ํ๋ฉด ๋ค์ ์ค์นํ ์ ์๋ ๋์ผํ ๋ฌธ์ ๊ฐ ๋ฐ์ํฉ๋๋ค.
๋ฌธ์ ๋ /bin/vpnbridge
, /bin/vpnclient
, /bin/vpncmd
, /bin/vpnserver
์๋์ hamcore.se2 ๋ก ์ธํด ๋ฃจํธ ์ก์ธ์ค ์ ์ฉ์
๋๋ค.
$ ls -al /usr/vpnserver/hamcore.se2
-rw------- 1 root root 1296234 Mar 6 07:05 /usr/vpnserver/hamcore.se2
๋ฐ๋ผ์ sudo vpnserver start
๋ช
๋ น์ ์คํํ์ญ์์ค.
์ด ๋ฌธ์ ๋ ๋ช ๋
์ ์ด๋ฉฐ ์ฌ๊ธฐ์ ์ข์ ๋ต๋ณ์ด ๋ง์ด ์์ผ๋ฉฐ /opt ์๋์ ์ค์นํ๊ณ ์ฌ๋ฐ๋ฅธ ๊ถํ์ ๋ถ์ฌํ ๋ ๊ฐ์ธ์ ์ผ๋ก ์ฌํํ ์ ์์์ต๋๋ค.
vpnserver๋ sudo๋ก ์คํ๋์ด์ผ ํฉ๋๋ค.
์ง๊ธ ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋๋ฉด ๋ฉฐ์น ๋ด๋ก ์ด ๋ฌธ์ ๋ฅผ ์ข ๋ฃํ๊ณ ์ถ์ต๋๋ค.
PR #339 vpncmd์ ๋ํ ์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํฉ๋๋ค. vpnserver๋ ๋ฃจํธ๋ก ์์ํด์ผ ํฉ๋๋ค. vpnclient์ ๊ฒฝ์ฐ ํ์คํ์ง ์์ต๋๋ค.
@moatazelmasry2 _vpnclient_ ๋ฅผ ์์ ํ์๊ฒ ์ต๋๊น? ์ฐ๊ตฌํ๊ฒ ์ต๋๋ค. ๋๋ ๊ฐ์ธ์ ์ผ๋ก ๋ค์๊ณผ ๊ฐ์ ๊ท์น์ ๊ฐ์ง๊ณ ์์ต๋๋ค.
vpnserver
๋ฐ vpnclient
๋ ์๋น์ค์ด๋ฏ๋ก _root_๋ก ์์ํฉ๋๋ค.vpncmd
๋ ์ผํ์ฑ์ผ๋ก ์คํ๋๊ณ ์์คํ
๊ตฌ์ฑ์ ๋ณดํธํ๊ธฐ ์ํ ๊ด๋ฆฌ์ ์ํธ๊ฐ ์ด๋ฏธ ์์ผ๋ฏ๋ก ์ผ๋ฐ ์ฌ์ฉ์๋ก ์์ํฉ๋๋ค.@hongqua ๋ค ๋ง์ต๋๋ค. ๋ฐ๋ผ์ ์ด ๋ฌธ์ ๋ ์ฌ๋ฐ๋ฅด๊ฒ ๋ต๋ณ๋์์ต๋๋ค. ์ด ๋ฌธ์ ๋ซ๊ธฐ
๋๋ ์ด๊ฒ์ด ๋ซํ๋ค๋ ๊ฒ์ ์๊ณ ์์ง๋ง Ubuntu 18.04์์์ด ๋ฌธ์ ๋ฅผ ์ฐ์ฐํ ๋ฐ๊ฒฌํ์ ๋ ์ฌ๊ธฐ์์ ์ฐพ์ ๊ฒ์ด ์์ต๋๋ค. ๋ด ํ ๋๋ ํ ๋ฆฌ์ ์๋ ๊ฒฝ์ฐ:
~$ sudo vpncmd
-- Alert: SoftEther VPN Kernel --
Fatal Error: The file "hamcore.se2" is missing or broken.
Please check hamcore.se2.
(First, reboot the computer. If this problem occurs again, please reinstall VPN software files.)
๊ทธ๋ฌ๋ ํ์ผ์ด ์์ต๋๋ค.
~$ ls -la /usr/local/vpnserver | grep se2
-rw------- 1 root root 1296250 Jan 15 2018 hamcore.se2
ํด๋น ๋๋ ํ ๋ฆฌ์ ๋ํ cd
๋ ์๋ํ์ง ์์ต๋๋ค.
~$ (cd /usr/local/vpnserver && sudo vpncmd)
-- Alert: SoftEther VPN Kernel --
Fatal Error: The file "hamcore.se2" is missing or broken.
Please check hamcore.se2.
(First, reboot the computer. If this problem occurs again, please reinstall VPN software files.)
... ๊ทธ๋ฌ๋ ํด๋น ๋๋ ํ ๋ฆฌ์์ ๋ช
์์ ์ผ๋ก vpncmd
๋ฅผ ํธ์ถํ๋ฉด ๋ค์์ ์ํํฉ๋๋ค.
~$ (cd /usr/local/vpnserver && sudo ./vpncmd)
vpncmd command - SoftEther VPN Command Line Management Utility
SoftEther VPN Command Line Management Utility (vpncmd command)
Version 4.25 Build 9656 (English)
Compiled 2018/01/15 10:17:04 by yagi at pc33
Copyright (c) SoftEther VPN Project. All Rights Reserved.
By using vpncmd program, the following can be achieved.
1. Management of VPN Server or VPN Bridge
2. Management of VPN Client
3. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool)
Select 1, 2 or 3: ^C
softether.sh ๋ฅผ ์ฌ์ฉํ์ฌ ์ค์นํ ๊ฒฝ์ฐ vpncmd๋ ์ฌ๋ณผ๋ฆญ ๋งํฌ์ ๋๋ค.
~$ ls -la `which vpncmd`
lrwxrwxrwx 1 root root 27 Feb 23 19:43 /usr/local/bin/vpncmd -> /usr/local/vpnserver/vpncmd
๋ด ์๊ฐ์ vpncmd
๋ ์์ ์ ๋ํ ๊ฒฝ๋ก๋ฅผ ์ป์ผ๋ ค๊ณ ์๋ํ ๋ค์ ๋์ผํ ๋๋ ํ ๋ฆฌ์์ hamcore.se2
๋ฅผ ์ฐพ์ต๋๋ค. ๊ทธ๋ฌ๋ ์๋ง๋ ์ฌ๋ณผ๋ฆญ ๋งํฌ๋ฅผ ํด๊ฒฐํ์ง ๋ชปํ ๊ฒ์ด๋ฏ๋ก ์ฌ๋ฐ๋ฅธ /usr/local/vpnserver/
๋์ /usr/local/bin/
๊ฐ ์์ ์ ๋ํ ๊ฒฝ๋ก๋ก ๋๋๊ณ hamcore.se2
๋ฅผ ์ฐพ์ง ๋ชปํฉ๋๋ค. ํ๊ณ ์คํจํฉ๋๋ค.
์ ๋ฌธ์ ๋ฅผ ์ด์ง ์๋ ์ด์ ๋ ๋ฌด์์ ๋๊น?
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
๋๋ ๊ฐ์ ๋ฌธ์ ๋ฅผ ๋ง๋๋ค. ๊ทธ๋ฅ ๋ฃจํธ๋ก ์คํํ๋ฉด ๋ชจ๋ ๊ฒ์ด ์ ๋ ๊ฒ์ ๋๋ค.
$ sudo VPN ์๋ฒ ์์