Message-ID: <4FAAFCB4.8040606@...1227...> Date: Thu, 10 May 2012 01:24:36 +0200 From: Arne Schwabe MIME-Version: 1.0 References: <4FAAE0A1.2080808@...1227...> <4FAAF152.7070508@...1227...> <4FAAF945.8070005@...1227...> In-Reply-To: Subject: Re: [Openvpn-devel] [PATCH] Openvpn for Android 4.0 Changeset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To: Alon Bar-Lev Cc: "openvpn-devel@lists.sourceforge.net" > I need a better description of the tun process... so far I did not > understand why you cannot use standard approach of creating persistent > tun with non root access and then use the iproute2 wrapper with suid > or sudo to setup its configuration. > > Alon. I have no root access on the telephone. But Android 4.0 provides an API for VPNs (http://developer.android.com/reference/android/net/VpnService.html). Looking at my method at the method that opens the tun device to passed over managment socket might also give an idea how it is done in Android: http://code.google.com/p/ics-openvpn/source/browse/src/de/blinkt/openvpn/OpenVpnService.java#220 Arne