Hi Jeff, On Wed, Nov 17, 2010 at 01:58:26PM +0800, Zheng, Jeff wrote: > How can I use connect-vpn script? > > I can connect to a point to point server with: > openvpn --config config > > The content of config is: > remote xfzheng.sh.intel.com > dev tun > ifconfig 10.8.0.2 10.8.0.1 > secret static.key
Currently the plugin can handly only the tls setup. In order to support the static key mode there is need for some more openvpn argument handling. > In this config file I don't see <cafile> and <certfile> that connect-vpn needs > > So I ignore these two parameters in script but it still complains: > # connect-vpn openvpn myvpn xfzheng.sh.intel.com mydomain.com 1 1 static.key Yeah, that wont work right now. First the script needs get smarter and then the key has to passed in the provider and the openvpn plugin has to pass this to the openvpn argument list. Can you give the patches I'll append to this mail a try? Only compiled, not really tested. I think the 'ifconfig' argument is not really working since it needs to arguments. daniel _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman