Neutron/VPNaaS/SSLVPN/HowToUse
Neutron SSL-VPN 扩展:使用方法页面
正在进行的评审
- 服务器端插件和 Agent 支持:https://review.openstack.org/#/c/70274/
- 客户端支持[进行中]: https://review.openstack.org/#/c/70254/
设置
(1) 安装 openvpn
apt-get install openvpn
(2) 使用正在进行的补丁运行 devstack
工作流程
(0) 从 https://github.com/nttmcl/neutron_ssl_vpn_script/tree/master/openvpn 克隆测试证书和脚本
(1) 创建 VPN 证书
neutron vpn-credential-create --name vpncredential1 --ca ca.crt --server_certificate east-server.crt --server_key east-server.key --dh dh1024.pem
(2) 创建 VPN 服务
neutron vpn-service-create router1 private-subnet --name vpnservice1
(3) 创建 SSLVPN 连接
neutron ssl-vpn-connection-create vpnservice1 vpncredential1
(4) 检查连接
neutron ssl-vpn-connection-list
(5) 在命名空间中运行测试客户端
cd openvpn
sudo ./ovpn-testclient.sh