noomadm / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

Start OpenVPN from Command Line #129

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi all,
it may sound a little stupid but what should I write to turn openvpn on from 
shell and then to select the configuration?

I've tried this:

./system/xbin/openvpn --dev tun0 /sdcard/openvpn/myconf.conf

But I get this:

Sun May 13 06:03:46 2012 OpenVPN 2.1.4 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] 
built on Mar 26 2012
Sun May 13 06:03:46 2012 IMPORTANT: OpenVPN's default port number is now 1194, 
based on an official port number assignment by IANA.  OpenVPN 2.0-beta16 and 
earlier used 5000 as the default port.
Sun May 13 06:03:46 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or 
higher to call user-defined scripts or executables
Sun May 13 06:03:46 2012 ******* WARNING *******: all encryption and 
authentication features disabled -- all data will be tunnelled as cleartext
Sun May 13 06:03:46 2012 TCP/UDP: Socket bind failed on local address 
[undef]:1194: Address already in use
Sun May 13 06:03:46 2012 Exiting

Original issue reported on code.google.com by trilly1...@live.it on 16 May 2012 at 1:44