iOS client bind to a local port (lport)

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
pinkethan
OpenVpn Newbie
Posts: 3
Joined: Thu May 14, 2015 10:27 am

iOS client bind to a local port (lport)

Post by pinkethan » Fri Apr 22, 2016 9:14 am

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

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

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

Post by Traffic » Fri Apr 22, 2016 11:02 am

Check your client log - I am not sure that iOS supports those options.

pinkethan
OpenVpn Newbie
Posts: 3
Joined: Thu May 14, 2015 10:27 am

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

Post by pinkethan » Mon Apr 25, 2016 1:45 am

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.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

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

Post by Traffic » Mon Apr 25, 2016 11:45 am

pinkethan wrote:If I remove <connection> </connection>, both iOS and Android shows "UNUSED OPTIONS" for [bind] , [local] and [lport].
Unused = unsupported .. :geek:

Post Reply