SoftEther centos 伺服器搭建 及 用戶端串連

來源:互聯網
上載者:User

標籤:releases   輸入   via   dhcp   linux   產生   編輯   直接   cbe   

開始安裝

1 安裝部署 服務端

cd /usr/local/

開啟要安裝的路徑,可以自訂

# wget https://github.com/SoftEther×××/SoftEther×××_Stable/releases/download/v4.28-9669-beta/softether-***server-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz

下載安裝包

# tar zxvf softether-***server-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz

解壓安裝包

cd ***server

1

進入目錄

#make
1

編譯安裝2 啟動服務

./***server start

運行 SoftEther

3 設定密碼

#./***cmd

輸入 1

5555 為自訂連接埠

這裡預設,斷行符號

``

進入控制台介面

ServerPasswordSet

設定用於windows 用戶端 管理服務端的登入密碼

4 softether 管理端

https://www.softether-download.com/cn.aspx?product=softether

下載管理端

安裝完成後 開啟軟體

新設定

填寫相應資訊

串連

編輯服務器

添加使用者

配置NAT 和 DHCP

產生設定檔 ,open***可直接調用

到此管理端配置好了

5 windows 用戶端的使用

下載用戶端 https://www.softether-download.com/cn.aspx?product=softether

安裝完成後開啟

填入服務端 的配置

雙擊 串連

> linux 用戶端的使用

安裝用戶端

https://www.softether-download.com/cn.aspx?product=softether

進入使用者目錄

cd /usr/local/

傳入遠程主機

rz

解壓安裝包

tar zxvf softether-***client-v4.28-9669-beta-2018.09.11-linux-x64-64bit.tar.gz

進入目錄

cd ***client

安裝依賴包gcc, 編譯安裝

#yum install -y gcc

#make

全部選 1

啟動服務

./***client start

配置用戶端

# ./***cmd

選擇 2

斷行符號 預設 localhost

允許用戶端管理

#RemoteEnable
1

退出配置,回到控制台

#exit

設定路由
ip route add 遠程伺服器ip via 本地預設閘道 dev eth0

刪除預設路由

ip route del default
1

添加路由

ip route add default via 遠程伺服器網關

檢測串連

ping 8.8.8.8

windows客戶管理端

輸入 遠程linux主機 ip

建立串連

雙擊串連 如果沒響應 f5 重新整理

ip變為遠程***伺服器IP

特殊情況

如果***串連沒有ip

DHCP 自動擷取ip

#dhclient

此時配置串連完成了

SoftEther centos 伺服器搭建 及 用戶端串連

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.