Hello Gert, On 05/16/2016 at 08:57 PM Gert Doering wrote: > Hi Jürgen, > > On Fri, May 06, 2016 at 11:18:01AM +0200, Jürgen Schmidt wrote: >> lport 5678 > [..,] >> This configuration works *always* as expected as long as the IP address >> of the WLAN device is a local 192.168.x address. If it's a global >> address, OpenVPN suddenly ignores the configured lport and uses random >> ports again. This happens even if OpenVPN is started the first time >> after a reboot. >> The logfile doesn't give any hints about the reason why random local >> ports are used. It's just happening. >> >> Any idea where to look at? > > To be honest, I have *no* idea - OpenVPN should not care at all (actually, > the code that does the bind() has no idea what IP address the machine > has, as that's only queried elsewhere). > > Out of curiosity: if you run OpenVPN for Android, does it exhibit the > same behaviour?
You mean the apk https://play.google.com/store/apps/details?id=de.blinkt.openvpn&hl=de ? Can't say anything! This doesn't work for me because I need a tap device which isn't supported by the Android VPN service API. That's why I'm using the native binary. > I'm asking because I checked with the author of that, > and he has never heard of such an issue - but then, it's a slightly different > code base, not release/2.3 but "git master", which has had a number of > bugs fixed related to socket handling... > > (And why are you running such an old version anyway... so few of the good > things in there!) Because I didn't find any newer binary for Android 5.1. Do you know of any newer one? I would like to test and use it! Thanks, Jürgen ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
