Page 1 of 1

iOS client bind to a local port (lport)

Posted: Fri Apr 22, 2016 9:14 am
by pinkethan
Is it possible for iOS OpenVPN connect to bind a specific local port (not default 1194)?

I try to put following config in a openvpn config file.

Code: Select all

client
dev tun
proto udp
remote remote_ip remote_port
<connection>
bind
local local_ip
lport local_port
</connection>
....
There's no error while import this config to OpenVPN Connect(iOS). However, it doesn't bind to the local_ip and local_pot at all...

Does anyone know that's going wrong here?

Thanks in advance

Re: iOS client bind to a local port (lport)

Posted: Fri Apr 22, 2016 11:02 am
by Traffic
Check your client log - I am not sure that iOS supports those options.

Re: iOS client bind to a local port (lport)

Posted: Mon Apr 25, 2016 1:45 am
by pinkethan
Actually, I use these options on both iOS and Android devices. Theres' s no error message on the log files.

If I remove <connection> </connection>, both iOS and Android shows "UNUSED OPTIONS" for [bind] , [local] and [lport].

Thanks.

Re: iOS client bind to a local port (lport)

Posted: Mon Apr 25, 2016 11:45 am
by Traffic
pinkethan wrote:If I remove <connection> </connection>, both iOS and Android shows "UNUSED OPTIONS" for [bind] , [local] and [lport].
Unused = unsupported .. :geek: