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”