1、環境說明
服務器
名稱 |
WAN |
LAN |
備註 |
pf100.example.com |
DHCP |
192.168.100.1/24 |
Server |
pf200.example.com |
DHCP |
192.168.200.1/24 |
Client |
2、服務器端配置
1. ×××-->Open×××-->Server , 點擊添加按鈕進行服務器配置網絡
2.General information,選擇Server Mode爲「Peer to Peer(Shared Key)」
ide
3.Cryptographic Settings,勾選「Automatically generate a shared key」測試
4.Tunnel Settings,設置Tunnel Network、Local Networks、Remote Networks值,並勾選「Compress tunnel packets using the LZO algorithm」3d
6.進入Open××× Server 界面,點擊編輯按鈕,定位到Cryptographic Settings項,複製Shared Key備用。
blog
3、客戶端配置(pf200.example.com)
v8
1.×××-->Open×××-->Client,點擊添加按鈕進午客戶端配置get
2.General information,選擇Server Mode爲「Peer to Peer(Shared Key)」,輸入Server host IP地址
qt
3.Cryptographic Settings,取消勾選「Automatically generate a shared key」,並粘貼Open×××服務器中複製的Shared Key到此處。
4.Tunnel Settings,設置Tunnel Network、Remote Networks值,並勾選「Compress tunnel packets using the LZO algorithm」