Opened 6 years ago

Closed 5 years ago

#733 closed Bug / Defect (worksforme)

IOS 9.2.1 client is ignoring proto udp

Reported by: tafinho Owned by: Antonio Quartulli
Priority: major Milestone:
Component: OpenVPN Connect Version: 1.0.7
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: IOS UDP TCP


The following connection setup (working ok on MACOS):

dev tun
script-security 3
proto udp

results on the following logs:

OpenVPN core 3.0.11 ios arm64 64-bit built on Apr 15 2016 14:13:50
2016-09-13 11:43:24 Frame=512/2048/512 mssfix-ctrl=1250
2016-09-13 11:43:24 UNUSED OPTIONS
2 [script-security] [3]
5 [resolv-retry] [infinite]
6 [nobind]

2016-09-13 11:43:24 EVENT: RESOLVE
2016-09-13 11:43:25 Contacting x.x.x.x:1194 via TCP
2016-09-13 11:43:25 EVENT: WAIT
2016-09-13 11:43:25 SetTunnelSocket? returned 1
2016-09-13 11:43:25 Transport Error: TCP connect error on ...

Which seems to be ignoring the proto directive.

Change History (7)

comment:1 Changed 6 years ago by Gert Döring

anything else on the "remote" line that you're not showing? If you have "tcp" there (remote x.x.x.x 1194 tcp) this will have precedence.

A complete config - without IP addresses, passwords, and keys, of course - would make this easier to comment on.

comment:2 Changed 6 years ago by tafinho

This is the whole config, minus the embedded certificate:

dev tun
script-security 3
proto udp
remote 1194
resolv-retry infinite
reneg-sec 0
cipher AES-256-CBC

comment:3 Changed 6 years ago by tafinho

Actually, it's exactly that.

If I add udp it starts doing UDP connection . Doesn't work anyway, due to timeout, but at least it starts doing something right.

remote 1194 udp

comment:4 Changed 6 years ago by Gert Döring

Owner: set to jamesyonan
Status: newassigned

Thanks for testing. I think it should also do the right thing with "proto udp" and not having udp on the "remote" line - but I have no insight into the iOS code, so I'll just give this to James.

comment:5 Changed 6 years ago by Gert Döring


comment:6 Changed 5 years ago by Antonio Quartulli

Owner: changed from jamesyonan to Antonio Quartulli

v1.2.6 has just been launched on AppStore?. Could you please test that version and re-open this bug if the problem is still there?


comment:7 Changed 5 years ago by Antonio Quartulli

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.