一、环境说明
名称 | WAN | LAN | 备注 |
pf100.example.com | DHCP | 192.168.100.1/24 | Server |
pf200.example.com | DHCP | 192.168.200.1/24 | Client |
二、服务器端配置
1. ×××-->Open×××-->Server , 点击添加按钮进行服务器配置
2.General information,选择Server Mode为“Peer to Peer(Shared Key)”
3.Cryptographic Settings,勾选“Automatically generate a shared key”
4.Tunnel Settings,设置Tunnel Network、Local Networks、Remote Networks值,并勾选“Compress tunnel packets using the LZO algorithm”
6.进入Open××× Server 界面,点击编辑按钮,定位到Cryptographic Settings项,复制Shared Key备用。
三、客户端配置(pf200.example.com)
1.×××-->Open×××-->Client,点击添加按钮进午客户端配置
2.General information,选择Server Mode为“Peer to Peer(Shared Key)”,输入Server host IP地址
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”
转载于:https://blog.51cto.com/fshuanglan/1533133