SoftEther VPN 架設記錄

從前小蛙要架設 VPN 都選用最簡單的 pptpd,可參考 透過 pptpd 架設 VPN 這篇,但後來 Mac OSX 跟 iPhone iOS 都把這個協定從系統中拿掉了,之後要架設的時候,開始朝向其他種類的 VPN,像是 OpenVPN、L2TP … 等,但一直都還是拿不定主意要用哪一種,而且 Google 了一堆教學,感覺跟 pptpd 比起來複雜很多 … 後來想到同事之前提過 SoftEther VPN 這一套 Multi-Protocol VPN (維基百科介紹),向他詢問了一些問題之後,決定 ~ 就是他了!

Multi-Protocol VPN 聽起來是不是很威猛呢!至少小蛙是這樣覺得,動一次工就可以有 Multi-Protocol VPN,比安裝得要命卻只有一種 VPN 厲害很多!

一開始的架設上也很不順利,照著 Google 來的好幾篇文章都沒辦法順利完成,後來突然想到同事說過這一套厲害的地方在於,安裝好之後,可以直接 ~ 透過管理介面來設定!這個 … 真的很強大啊!不用再去下一堆指令,直接開始吧!本文參考自 Setting up SoftEther VPN Server on Ubuntu 16.04 Xenial Xerus Linux,記錄下來留做備份並加上自己的一些心得或遇到的問題。

編譯套件

小蛙的環境是 Ubuntu 18.04 LTS 64-bit,搭配安裝的 SoftEther VPN 是 v4.29-9680-rtm 版,上面的文章還有提到一些需求像是 30GB 以上的空間,但小蛙的沒有這麼大空間還是可以裝,另外一點比較重要的是要有 root 權限,那就 ~ 開始吧!

更新套件來源及安裝必須的套件 build-essential

apt-get update 
apt-get install build-essential

這邊下載 SoftEther VPN 原始檔,或者也可以直接用小蛙使用的版本,建議自己去下載,可以根據不同的需求調整。

wSVISZjYZjZQpXDPnAnBz2f90TbPS QWchStaAr759RH1vjrX2sYBgd4hbMuN0XSSD9qB06CuQJ7OZmg9AwEXWm4vzo h7eYlZWihUIaLxmTsbgkU3BMzQAd9H6J THx44bXm9UTBJTRTjouWwZ5FTgzHvelDYv1GIZ0ZbRm JKCQ7dRMkksbn0CyGI2M 5bLAjLYwsNbDfYx5tjoUZjQEnw6IiNYqG 6ar1ywNp f3Ke8rb3osALm2YBW1hLWLBHuEB6j8z05YGy3yJ0QwiFEg vgTLUMLMX6dhhHTD6HfjoDaXYt33WzjMnCh5Fzsc4MsDlNmPsO NKjZ6 wBnMi65dkoBOZp0EE8GqnqkuNzZIikXdPTrpxpNmei3ITLknGUTf5QPqMdpHAZWiUy5Dl6inZAAQK9 CuGdUMfY3AMeju2XHBbXvkvXlY0EAOz7h5AqHlK6WJ8a Eb3RNLw8g756p2Nm9TgIMnDOowGb3GjpVok40KebF57S2KOMccjjIA4 YH5Sqa1BsAYgG9ZCzsj 7qA0vLq5Kc4AlASfKnpZHepG7uBEoEGtqjdugvCVmRhy6wlsojViA NtLK8edTUrXyC2SMA DflT2Yv1g55JnS32YoI6VycmdpXQ03Ve3TN01Z9NoyEqbY2SeuXScfPYmOXi5kn4TYnWzzO Wb5h4l8ruKnWRN9EBsb8ilg hCfG8SFSHxsvldi2DF0 pI sw=w952 h731 no SoftEther VPN 架設記錄

複製下載連結之後,回到系統使用 wget 開始下載,並解壓縮

# 下載 SoftEther VPN 原始檔
wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.29-9680-rtm/softether-vpnserver-v4.29-9680-rtm-2019.02.28-linux-x64-64bit.tar.gz
# 解壓縮
tar xzf softether-vpnserver-v4.29-9680-rtm-2019.02.28-linux-x64-64bit.tar.gz

解壓縮完會得到一個 vpnserver 的資料夾,進入該資料夾並開始編譯

cd vpnserver
make

過程中可能會問你一些授權條款相關的問題,都按 1 或 Y 即可。等他全部跑完,沒有出現錯誤就可以直接啟動了!

調整資料夾、權限、相容性檢查

./vpnserver start

把 vpnserver 資料夾移動到 /usr/local 去放

# 從 vpnserver 資料夾退出一層
cd ..
# 把整個 vpnserver 資料夾移動到 /usr/local/ 下放
mv vpnserver /usr/local/

我們剛解壓縮的時候,可以發現 vpnserver 下面的資料全部都是 777,這邊把權限調整一下

# 進入資料夾
cd /usr/local/vpnserver/
# 把所有檔案設定成只有 owner 可讀寫
chmod 600 *
# vpnserver 及 vpncmd 加上可執行權限
chmod 700 vpnserver
chmod 700 vpncmd

接著做一些系統相容性的檢查

cd /usr/local/vpnserver/
./vpncmd

期間有詢問 1, 2 3 的時候要選 3 Use of VPN Tools,接著輸入 check,系統會開始跑檢查。如果沒有問題的話,繼續將功能設定成服務來用,不然每次要啟動都要進來這資料夾有些不方便,我們可以將 SoftEther VPN 註冊為系統服務,之後就可以直接透過 systemctl 的方式來做啟動跟關閉。

註冊成服務

建立服務檔

vim /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

之後就可以透過 systemctl 來控制了

# 查看狀態
systemctl status vpnserver
# 啟動
systemctl start vpnserver
# 關閉
systemctl stop vpnserver

設定 SoftEther VPN

從這裡開始,大家可以直接去參考 Setting up SoftEther VPN Server on Ubuntu 16.04 Xenial Xerus Linux,接下來小蛙要記錄的是透過 GUI 的方式來進行管理,因為文章裡面不確定是否為版本不同造成的還是有其他因素,小蛙一直沒辦法跟著文章進行設定。幸好可以透過 SoftEther VPN 管理工具來設定!

這邊下載管理工具

vztlNN PPhbiWLDM0Mq k7SJqvBuNOTJHsx2a9xuKZ4cuI64cPCo IJqQiBAX Mp4oD0VDKg0iAHxjRuZixA7g 3oLxcAvLofPdH6x5cI0tKuI1aKX6V9lgcveiZaZodqyXZkBihhDiRDbok5KKTsbnPmnqZ8A6zfO5Mq 8qv5JRg4LlgMvc2uAVcKGkt1I6G6O7XUz3bBBp4pEJgV uSq50li85TboZ5gUzcCaAQqojfjtPAUNwYYrzqlT5z0zYPWw16md27H8XpO4M690h07f5038tWePoIuGKG5rhO4o9933HGUwGQpZtWdf0WWAtMRqfW77B6ourhlOaoiSSn3 y2yHc8vW289V0 VEizTSMtiLscf2ezeA9CwAJRv1kBJupCEF6Lj eLpzyDrfX OxQSm7SZgFadLd cP7G5NyKjvs9ccJX 9ZCFQuFf FifCsmawIajxIeNKAa028N8rm5F5pezCB0snvIcqVZTXgpHT6uH5OYTb1jkgfS82r QL5fK10PdJ0Vn0UtoztiQceBia3wrSYG5qwNSHtoixoXsoQBcvhT6EB2NThRXU7VwcP1dwN CdL hX bLOac7WHsCBKjeoM Ur5NfgP2599S8C0DFONC6AehZkk KbMcl3J9ctc3Pq Ok7NutxRBFiUDD0qyknsURVCPwwoTU8ycUZjoCJ3ObDU7JPIkNrmdhHpJy1MxTi3aAc11jGSK7AFMA=w1152 h937 no SoftEther VPN 架設記錄

開始安裝

UIdixX0p0Kh9AS7j46TGi9sX3cTq7yNw 7Acb0FRSbn3poi j5gbhBeip8TAZOzenkl4FdbFblFFVkVUKSTUVKR6ShEn0he f4D9VUmcQ3Qv JdgrobJDIXZfIFypTqqb6KccDow0mdt JT BgwCnsZNcN sAZeJuxQ0BSiF0O 7WI3f8tQkmhcs 07E7QL2Rn wge3BiBZKSkWefhUeyAbstecUA4Ds7YhNICiW 8LkdToTilRv234xGH7wjnyPq9mpwUsVQNjJKPqr1lGWy7vjXVK6UBQHULDFr4gZEN3DqsTH7oGoz yRNutYJIJNHpMcY OVw wRGeYR8NhjlkcpR 8cIrEm6no03 iRkb5DxitH3TigB5pjfz5gZgjuRSQVrdWEUS6CHDVNZINdShEx ofFZmrXTe8qcwJ J nQaIsan2mx4elj0spArKhOUq JVre5yxRDDhuUdtB0F YzA1RVz9yp98ZDPuXNrfU0vOYTRndIr8EE58RH S786 kSOPGqijLSv2Q 1CDgbd7rKPecsgcFts2Nb NMYXngoVBBp4hN2czjKpDF7LQE7za9NEgO4eZV1qPA xQ1Z8NbaK2TWMPrSnxFjx in5Z0hZXJlJdaJkgWtbiqKRnKPOhvyhQmwDpSlSdz2xdGRyLDyLXUODT=w592 h436 no SoftEther VPN 架設記錄
zOjdIE1jCAQz5XgSgkObc9BBfr1HD6a2XBuwAR6gvE3mKjWuc1owUF3 bGl5xGK4HzPZWMiIcVZSxUyWk6pUNlCB96T UVrkbwtxJMTe DsD8QaW8 XAKfduWpDYZTDVlY11Y8xoAOcl eFxBMjZAmb FsnwGQSDkY8CAB8NQzAcjfk725it5GjPwTR0Rc1tr XL2g8 DnNT4elNqDWzvN GAib4bJmazQxNdh7OsMC6DeHSIJ jYbkrcVGxIimm63jWAP6u4rpGFbIrqteZf0T GQMawHXh1 mlSkrRM9MRzLEGoqSp60S9E0ap4z7yksWa5U9QXj6WvGQ6bwSOF2XSZm GhtE2yMN84hlTFFL t1YrESQwh5vc60o8Y7357W6lPptytlUN7rAZAi1JwVynncy xwcYcWanTeMAjOuHnfEcd94Anr ys2 llNJTDOs YwuCBD9pOJQmKoAJsp8R6HAn72kOONux47smx0u qW7JoHiEdoZrPhfwH jbTVNJ TgwF GwV6f3aoNxGDLzvWgnfRDsQvYYWjLNkAHONnvRBf TbtZl3RWAsqkpaVYC9aqT680kaK2MAdriuvnT7uD68ZZI0RZNVKQXvsNDZEzwW cXi6sVF Re0KsHlJnAGRq3tZXUfv8ozWUUXqEU6MBBkkdX=w592 h436 no SoftEther VPN 架設記錄
zNMYee8kHYJBzZbrVzxibinAb9jok2XdZ4Wm8VMkQBrWbd4S14eWKEDSpiuu JK 8qY6i9Hcb2qY IAipfTBp0bt2yqzchIa tEPWhBJ5ScC x8U Yz5ov54EbA6uBI92I2u0ptUhvHrT68FQKKacDNPEer9VHuvFbYCQpRE1zc bFLzl yE Gq0lpEsbTX hff3xzsqWQeDgxAFVp17JZdr3fRttoJq4Is0jXhN7aRRSg9OfFZkDuKDGjmKZ y7 E7I6BJhZVnjYH7B0Lyqg XWFruyJdVvrGM31v1Id4ps5J DRR3KVWDHA O8 tjBXwWuzks1JjuMew8yyIcvA1SDQUmMLufkVmMH88oPnqdv4VEsNsZ3WpxYbNIYzQsHBIOwVPklkPBQYr9HEB5WDNzopuixLUnd11xywugY dDyXLRln2xU5RvQO7fsnsE7jTh1DInGsgMNuFqrh2qmCXu10PDeXA16Jno7KoPewHpuwOe3HM6I3UatjqgiTwi25D Yb oT1IAuMLCwpCV1 zopJKKsEtptaPtVzXb GascZYna5 J OXj jc1eOXc3 JRxBiFafXht 4O5L0Nk0KDG7cghAPV 7ZqD4j1 2VgJfPeCF0ehfGbZq4itdnnWe3Zw djw8AXOlhH2z50a9T3M5bqu=w592 h436 no SoftEther VPN 架設記錄
bI8 RB3lgchqfW7oiEXWL1 i9N9lT06d0wgw32tgyfJBfQHxRNyPPUitwDIo1N0g0lIq dm1eEdL1NO04 MDGsMnUCNn623K2NjOnPnxGyznrbfBG78VZtMgQdM2436Lhwql aPSKSRTJoz6DsCSjMzqXlFEdVAY0VkPrHwfXoiUbfPnQEAysYWt3yt0C8QKccoARHUPgTB Yh8U04OX4 0bhNkyYVH8nLY9NXzbB9Gbw3Y9mHV26 yaGgnNRJF2OrtH9uUSPCgMn5OiyjHp7rye4tOsl0nzYAt8muuvXKI01e8N1CnbWRK 5EMjgSrXVCSggzB3ct8eDbWuDnJk77S7M6BdJRWm9LEGD1ST7p1967xTnnn7qBAZ6ewe3IaLtC3cw2tmDEmpZdeGn9IL523hWytA EGCxNVn yhE56XqnNYXe2WEdQERCHCb8zgj q7hTcfG7Tg7emkqueYEY0s7EUYTgJVXH4iAw6TqIwMCYC8sQxKahejIrzOpOxD4YtH qLfKdbQkp 0tfR4xkIuDUUH7ywOtEjaqY3ksfUTmJYo X8a80JL4qGjftvor6DPlofbgrNTMf2xMRldAjewArJ6TUhHkjo9g GoIlgQw60J X3PUKed3bWfhaAX vlaKDUHuSHzvboEywmqxdghrKNBTvW=w592 h436 no SoftEther VPN 架設記錄
IgyZtpqXNJtAyPOQyGytDjH9UsMskcsxMjzDd uz4EYSlJV5utE2S ABo3SZxgx02ozvoYgwttPB TAly P50IxTSjQ1L1hxl5FMLgv7mFwIz1lsxJpVNWoQ GTYmOzwQDdsBU7oxq3qiybEFz0XPgjxV gG14jF3zT9 OoYA2 hJhnCkPGLjvYbjEiZUZjM1e54jLbVnxy6pOQ7pPmt3qv0WUlVVfYZBdcFYPJ eVNy9Ldu0gs91 mE2MnYt SZaZF9SzyVyx9uiSJwfxlRaL09shBkmVq2i CKB4KLgxVYIJyKUunXR5fZCdEovXdNvntzsmYsPjJ5ukt1atW DR6uXdm0CkTlu67RNpXQ2oA1PZJEs3q9R2f9D1psi0MBekuvMo4e3wJBa7IXp 7znDQ Sgm4cXMkvahWSx5ZXgWAwDwYiRINf4MEqgxdTWeZnotkFpzDM2saP7xdVKeOj7jUk SrJzEI1 SVA73 qtVKnrWmxsXVGtIBkr MSrLLPzhXUAcWJg2D fZXvbtQIyWsNRoWSgxovVcZ7mSxX04H9rmaS2evSxQhrg3uLcwW4yTJc14l0DYfjttK8sYMIQfcuXkztS MTBMAaoiqOJHcJ6Ldyri6EI33JmW9sMAp2LqzrCXchZNe3mOE7vYG7Okb254WaIT=w592 h436 no SoftEther VPN 架設記錄
TxGu4psorpshYHyFRcZFlWzEVvCExBu7Yj0NaR PdgRAi3XK4q okir33Xe5MTr2q fyKFqfcdmMNBDelFPQhW3h1ogudqMvi 9N t5iCHNoTkem mq6qY9Gaoca9uRkwtF1rFcCGtoVJEh8Hgu6tbN8qqwxQuZpip0tqFVLywOF uv70dF vwzp3WW mBOxm15pxJ7wQfr70o0yh9jVwAMk3PcAA70hG5eBFG36DkAu2AM7vgt3EUrA7TrGKE8tS2acoFboTmdlan0V4ES p EWSQiI3ak JC O7tG0XQ jeOajxOT3be 4XGxjTUlfXONmt4SDh WUaUi08sDxPToBhJZXsj iuHKFovzKAQEFbMaiiGjE7E8KXFeYePZpd08LwmHkVwt0dWjA8paUrcaolXuNG4uoTiFwX5wd5EcotywzPkKOvRkUc4tGIj8 Mvz NXRURKpVCoLgxO fSiGIdEr0AGe6BF52TxAbJVhKnUBQemRMglocMEz 2c5o0fBR1BNc0oomzC4 Ecl6 P9imNFIztCJAV2xdqwlX3dKp7lSb5VtOgYs2q4u7WACOMEbTE62mta5BSSBAqD4lTRKGjaEEtVmx6luy2oJBOrAvuOWn8YDMP20lp6krbdxvbHPvYGNva1gek0gpZGkGG7pYwdcp41U=w592 h436 no SoftEther VPN 架設記錄
9PnISIJ7aDSFibc vAmBICa0DwGXnHjQh QtEkqPltACLsELCHmrM524rnrd0X039yhGIs6pvhSMxgon7lwE9IdU0Qb8M yUYSws z0Ov2kUBPrTeHrnW WqlrWmq88ZdU6ZmyAVFBT2KV4Vsu7bx2jKL1erPBmz50q5ZZrA9kyJXlXlZ LT8JgAE sxtL6qDdkTA3b2C5oD5b8Xs HxNivavGvqEUiVrBzzMDVC62mQXHh oiDjxBOHFYgZvoO17 jkHgAu3NrzGaGkaTzou5aJrSXFvD DUfC7iMeYs rct0YjcFWG6Hffe5FAA9BpwxOkK1GEdrOYIX5MGOKSozeC3h peJleajSg9oj3okp2bLkaa4YA9eTQZ7UciNpRcKpKvoi15a9bfAy0YX47gJzXSpLM obr86RIxzfb3wV7HGnLWMUSFm4NSpd1UioYCXucW0cl1Dy3aObfZhEX KNdbq5LoejXk2uQqKqb4ve6DucqShHWpknTUHR5kNpK26c2lvYntbI0ZI0rFTtn vHecpx4FHmLWaGfDu3KOreOKUl8Jdj6SU3AXcYmilr2aOsrKWyGL4KOcBvWy0IkaJjOSWeE7IpgpY gyfkwow9X6nKIi1SL tfUnZgPE9 eGCkKuX2b br06BE2BB eBqOgAKKwrOUM=w592 h436 no SoftEther VPN 架設記錄

安裝完之後,開啟管理介面

MVAS65 wFECSSHDp Mjgk2ibx7W5KN LBO5LY UfJxgMygR6HQ5PyEH443s1A9KpZpGk4LyoD345nzGr3VDc7wtm3y7pqyDx9m4rY02Pq4uUcmlvitkxY F FlJhZEU4XxwmwajbnQPe2CD9KAfRxMAdOes giwyumYjXlnVEpXG3bC8qEld5a8ndqyYMJK25b2I 2NUHL0nRDU5OHPTPTe2uIg9e4txM0yR9rxYfmnDt0mN00gRbom kY0TUGn3kyQQsYdHuuXN0Qj0tDc8bvbgnBHVKOqenqYLlWZhQmV4d176zACPGJrXo x2ckRUu3hPSEuTj8YqfPMbTRr8 QY3wIvHSwfrEVcQY6OxtmtPpSlIDtEfo 93MFztcwMSt9Oumc2AtAaUm WJ9iQ7eVNIGFmoPzbqiAX040iXEQimsK7FMpf1VxORv99509XEuExCTBgLb muUisja07EMar4 UvfQ4AcXFpdfY1K5Ty3RCX kjNQFMUbIougAJrhETS28b58HzZxT3VQXiyIMhvhi3dDs5ZwJhfiNAgin YVBz7SGZ2q8yGy1RBr 8CNPdddp3zHcsnVMeeFs7QgjnLz820SNMVJVs0csVMwJMwiwWcSTXlduBmzYNSicRIzVScNgZOKuCcFDSR6Kr23kP r35WUrP =w568 h742 no SoftEther VPN 架設記錄

新設置 -> 依照自己的環境填入資訊,這裡很棒的是,因為根本還沒設定過密碼,第一次連線軟體會請使用者設定一組密碼,並且帶出相關設定的引導畫面

iCBVpHLrdSJFBprvXTsNTG7La3ZE0UPhu8EbsYN7BM1Vim2wI1JGWRA0C8KP5fSN9m4bYza8b0iFjCePL9EPszoe5MXvgxtgsoBY225yxUaqjfqinzZjCK1oB8FUHfvTc6PYKNOF7vzyh6XAtmZEG1z18qw6zdpNxf JuYYqNgvMYauxCnszDcdfX bg7KgkasDs5MXC376jd8rxxVWrMuu07zKh52YCjgYdieA Gf0VYyDNFQSPdM1k X66Ul8iD38SBStf6vZKcI3XfhNwvveLU2zu9QNCHNIbmgzHaMb4J34Qi0qq1gm2s5UCgIU1oMeljnvbq3DK ZkMJ ccT 1felhbf Oaxcx1SbxdJENqh 7cB6Xe0r4XuQ4cyG4i8cegYHcZYTMbMsogz60OVl8ugJ42nf jAjpfsWZz93aJS2hxsEWNt kqulZTKSvR2keS9qck64 AXJkiAZXIeUKLqusLQc37AQbNUqLyCqNyYnWqtUDjnEcR2558aCQ23stkHI9TzL6yMlY JTTquob9cM1r1UMjXHPycFaXL63MIpBHCOtZN8t wn9jgjpTaNhLgwu20nYJERUkJJN kQw1r3wuBzfDa3L4NKJsh6R6C9XvtB JEQoSJc0rQrs5DBsOzPgsRZ2h5g0MKyzk0FxNnV57NDaG=w763 h487 no SoftEther VPN 架設記錄

後面小蛙有點忘記每張圖的順序了,不過可以大概對照一下如果有出現選項要怎麼選(補充:小蛙在架設完之後發現速度很慢,對照之前架的跟這次架的差別,發現在「加密與網路」這個選項中,換成 RC4-MD5 之後速度就比較正常了,如果建好之後發現很慢的話,可以試試看喔)

r 7aEOVcwsywgBlIrgYomUeKdBxOoE3V nWDv4hkoekUrJpK7f5LZxGcBc I3JsyTI91wfUUCsqcIbG2sHF56hxPwXpgsUvUq2jJfdr4Qxa0n2YHR aIUMCzkMgUctvAFgge1vKB 660ELTtmjrbUDRzZJ8hLHYVX8QsUHGCJEBTNV kpAO WS4IvY4gqwWvBgCYApgB1zgD8YPkPdEXcAWwhN zEbGFllRyO4FWDaWoG4AnKb3Gd5vz4N3BGawnGWGErHfZNpXc0Gas1PdBWFdiegQcWo3f KXS4u DQkKNRVwQelDyR7rV0LyCuYYU6K9fBo8uOYw4xwSYle2lc8e0JCsPvmxzWIZeZVSbf18RoJ44bim71VL8bYiGGOnC3mm377xIoCo38byAFEkx96eM0zbhRxfeExlEjdg2AA PMYJ5V8iCllu2FbR1nllg4StHBz9zuYzp4UPQF NqHnQW602ID 8iUmgVZhcWNFDoZwUjeGHnnZi1ggeDTI2m4RSVyJE9E YhDodm8R9 D60GpjpS5CVq1160HVe5FQ5Fg6DIuBnGQQWwW0fi9s0CXs sX2C6oHnCUqHQ77RgTLuFGtemcaI0yWSydjhXjt9QdxYyO0T x7fMfYPTecI6WeBXKaHQ tb2ofK9BAK d gqOji EY3K=w896 h754 no SoftEther VPN 架設記錄
這邊小蛙把監聽的 port 都關掉只留一個常用的,避免 port 開越多風險越多
hsuGR848Jc3xmQ6a0tS39beIeVyxe5PwamLsi4jqYpRx enx9NrJXCL qdBIxkHoY8euWD8nh0pmmjQfHIL1cvexJoSw1ASnDi5EwfSlIj510beOcH4Yb7coG8yn2isoYnyDXZ XKZkg5Vlyscq1dhI5OfY8dwp71xrfqMo06zFXrvJnUlKMZJWFSfoMa59 QwUIuPfjR8vIsq0LNieMFHlDHQANkDDDzRx1LY0ZXkWkZzPPVJhqVLTsuNkOSIgxivtMP7FDB wab1xbRBKQdiaI1Ec86hfAxAdZ2rbTcR9S pnFw8NDC6jc45959rvpCblGdudzJTPVWxoNEIv4lpRoBpTAg6GqbIaDfPdxD1feTf4oRmiN71cGf5epWbOL957oAyA8EJ p9rtVJqRavA sXML6OFA4J3AkPS9A8PU8j7M6DtbHI5pmoPDnnNzt12EhK0xl6v14 iXMpXDI4FZIfhyzjP03A1Vl9cohlC1EvERRtWixxJKLzW 6LM0xP6MAJ2sFcDdStS1F9 8pW8DvsRJft 9 iEqGtYyF0TB3isCplJd9DKagRvKMvpPFCEqGFEKbq9mA7RVYLhH86jV80kdlWvSQysdRFYx64CopUt6K4kZHlgF3YjA0DAoYu7F6xHPvSRqgywCL 5PFPKqXYIzNfm8J=w912 h747 no SoftEther VPN 架設記錄
一般比較常用的需求就直接選上面的了
6G hPkPXrT2uab2a5uTDUEqPEJazEBSKIOj6PrGv7PZWDfhIXfoVCa 7h0hNIdC2D0On HMx9kaNxYYvDUAMWswZ6jzET0nWXuw5f1nOh0SgwO6v3q OELF2bTN02nJj5Tvd8PJk2Dc3qtaSjddJQZI3LNejdNbrjoGNpDlJR9X1a a63dvG0YqNDvicxJg9mkKccQCivHrLwshUnF EEgHQvKC20t7E6m0oerku27eUWYYq KvydDAHiwpEAMlEKf8hEhIaEtVTcZgbkK2lWlR QdVOGLaoeaTXqm56tozy537pmL5 a6yh1Ezk3AmrFX Tks7mTMdts1vMbGnCgSZCPtO0biOaiE1ho79XIXxBaZ185PalSZFz1AkXYNQNMoZZ78hoeXP3Ki30YAV3O9tMJ9jc477CVSmf5mGs7jwwW kO7vLBHqigJAow zS0ETdzneAKrq oMTBDfHTybBJcOjbPEvOZbEO0WiCtuYF96clV7G49cqp2K0b1 huQ 1hSTMJwrcqH77AhXZ4JP9nEqyaOog 2FI 6 VvPKP5 RDo7wm3LRcut9KDvP m9cmtOGgn3hPDvlcqluuOuWR9RChmjJ1sLI Bboo9gqhpZ1pf4GpN6m8bYRsgevX2ErJhqmNMEl4CH3SophfpMdh px4WfSMvh=w864 h738 no SoftEther VPN 架設記錄
這個設定是為了要讓 iphone 或是其他裝置可以連上來的,最下面要填入共享密鑰
YG Q5ceWhpgg0Xut twV3sNDGs4cU3gh1XqbjKaUjrTNcEFakKgGtLUbNh3Jz6CSPFoMlACUpK6QgSFBUjGmbVZdxbscSAKuXCWKbwNAr92dY1CynUFwJ5eFRn6f238a3nbatqMo4qX89LJNsDZMNxBXEnXttqF UNhvj1zST1pyCXiP FAUQ9Iau60 WlCjCS2kdLtAKVYnT06lyNr3wTIjNY8wvpfa6jYEhoDvwAblUCh5AsqiJZ HRZYPXZ V9iO IAFaMdrO9zypTDz05U 7bNgsXTIWOcrL70rztQPurDix4iDm7zwaNK8bDIZIvRVfEgh0kV2z88gEWNTzEhr48hKBEQxCc8SsaQ ah4ZTprzlKCiSeM6c wZxJwcN8RhYqL7rXty29tGrNeSp dSFkPAsxJOND4LR0Cq QHvHI6lepeC8AqiuipCHO239 3gyR9Nt8ibDJ30KXhjwX8KFeN46lFUIeZ7FYTlK5deik7B3TYv9Abh9XDNY2NP5s19TERFQBzRk0AR4XKVpl2lKa6sC shLFMLhx3sRxM14v6MauKnMXQgn FhWZYoddvGAvf61lKUSxsv5c7oOIOEl6FcBgQJ4VpjBZmCusozzgZEWjZ b4 jG4HKU7NBxbFNAX0ShQs0WNF3XbTXBdu3gwJsml34f=w728 h659 no SoftEther VPN 架設記錄
小蛙一開始設定完卻連不是,後來才發現沒有啟用 SecureNAT,啟動之後就可以用了
vNmYuTZDQGP DGa6JaaEvIhJJQJHqdCv2K5x4 9U6T sxaNdJzH1R9IT2O42pQkZLsBkADEbG3Q7u97DTEHwE02UG RQSu4u6PaP5gchbK3DhzCBGFDGmRuPeuh7W67J8f01l6ssPfiqnMAvNCuiLHTW6K550wIiQNEdzPuBJmqFz4mrlwDumlL4 LbYhSethzueDVBdXSfAl8kZ83KfPS2zWjxBqHp4l7L14HbbF4NtlnTaH0mp7tsgn8R CQanAOBQhpI5kDFH Vc VwSSbm rbhg3KODGEfpek1r3e6EvxLuvyeSZuwfShfyx3wNrL5XN82E8ajxuVRs8FGYVSSzxhL5LEYTLsB6eunXK8ZDUhwVxNKxz7z2SF BZ6jmiD48dHvfNx0VX2VrGuak7lFh2 F9rNfcPMX ZAtQn8y7IHqegYzQo6oWL8twrHotGxMNaxETMV nUYse7i ZuZ3r70tPB7IGaEQLjTW70eBzQHwCq9hAce5G2Ave4DUg9vZAS0F s0s9sANiCD xVM6ZFicrICde8lYkYzWGbJPk5nS5mCKNEdb6 YkhfLdImuMbKL53CfAsyjjK92IbU nGkvdQDY3UnANiT4pJ Oao09vYX3 N7FICTOJvpsEdjE06wG FJqQ4 LOaK2K65pk mWG7dRo=w928 h724 no SoftEther VPN 架設記錄
創建一個使用者帳號,驗證類型選密碼驗證

基本上到這邊就已經把 Sever 的部份設定完畢,也建立了一個可以使用 VPN 的使用者了。

20190315 補充
發現 CPU 使用率超高,看到這篇 SoftEther VPN Server 100% CPU 高负载解决方案,照著做把本地網橋關掉之後果然降下來了,留著備查!

與 VPN 相關的文章

    4 個回應

    1. Eric Tan表示:

      Dear Sir
      請問,轉成服務模式後,如何讓他在開機時自動啟動呢?

    發佈留言

    發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

    這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料