problem connection to ipsec on iphone ios 5

ninjallo
Posts: 4
Joined: Tue Nov 27, 2012 7:59 am

problem connection to ipsec on iphone ios 5

Postby ninjallo » Tue Nov 27, 2012 8:05 am

when i attempt to connect i get either Negotiation with the VPN server failed or The VPN server did not respond.
any ideas?

my dashboard info is

Dynamic DNS = Ninjallo.yourhda.com
Home Domain = Ninja.net
Networt = 192.168.0.*
HDA IP Address = 192.168.0.11
Network Gateway = 192.168.0.1



my log file from the amahi-ipsec-cpn.log is

[Tue Nov 27 09:37:26 EST 2012]: user 'ninjallo' connected as IP[10.8.1.1] from IP[198.228.234.*]
[Tue Nov 27 09:37:43 EST 2012]: user 'ninjallo' disconnected as IP[10.8.1.1] from IP[198.228.234.*]
[Tue Nov 27 09:37:51 EST 2012]: user 'ninjallo' connected as IP[10.8.1.1] from IP[198.228.234.*]
[Tue Nov 27 09:38:09 EST 2012]: user 'ninjallo' disconnected as IP[10.8.1.1] from IP[198.228.234.*]
[Tue Nov 27 09:38:56 EST 2012]: user 'ninjallo' connected as IP[10.8.1.1] from IP[198.228.234.*]
[Tue Nov 27 09:39:13 EST 2012]: user 'ninjallo' disconnected as IP[10.8.1.1] from IP[198.228.234.*]
[Tue Nov 27 09:48:31 EST 2012]: user 'amahi' connected as IP[10.8.1.1] from IP[198.228.234.*]
[Tue Nov 27 09:48:49 EST 2012]: user 'amahi' disconnected as IP[10.8.1.1] from IP[198.228.234.*]
[Tue Nov 27 09:55:36 EST 2012]: user 'amahi' connected as IP[10.8.1.1] from IP[198.228.234.*]
[Tue Nov 27 09:55:53 EST 2012]: user 'amahi' disconnected as IP[10.8.1.1] from IP[198.228.234.*]
[Tue Nov 27 09:55:59 EST 2012]: user 'amahi' connected as IP[10.8.1.1] from IP[198.228.234.*]
[Tue Nov 27 09:56:17 EST 2012]: user 'amahi' disconnected as IP[10.8.1.1] from IP[198.228.234.*]

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: problem connection to ipsec on iphone ios 5

Postby bigfoot65 » Tue Nov 27, 2012 10:13 am

Have you checked the wiki for guidance? Might be something in the forums. Hope it's not the new phones as sometimes new phones don't work as expected with Amahi.

I have not heard if anyone else has had success or failure with an iPhone 5. Might be worth searching the forums here.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

ninjallo
Posts: 4
Joined: Tue Nov 27, 2012 7:59 am

Re: problem connection to ipsec on iphone ios 5

Postby ninjallo » Tue Nov 27, 2012 10:29 am

its an iphone 4 running ios 5.1.1r1

and heres what the debug log inside the hda gives me

Nov 27 12:28:15 amahi-Satellite-L455D nmbd[928]: Cannot find my workgroup WORKGROUP on subnet UNICAST_SUBNET.
Nov 27 12:28:15 amahi-Satellite-L455D nmbd[928]: collect_all_workgroup_names_from_wins_server:
Nov 27 12:28:15 amahi-Satellite-L455D nmbd[928]: [2012/11/27 12:28:15.112316, 0] nmbd/nmbd_browsesync.c:586(collect_all_workgroup_names_from_wins_server)
Nov 27 12:28:15 amahi-Satellite-L455D nmbd[928]: write_browse_list: Fatal error - cannot find my workgroup WORKGROUP
Nov 27 12:28:15 amahi-Satellite-L455D nmbd[928]: [2012/11/27 12:28:15.112065, 0] nmbd/nmbd_serverlistdb.c:328(write_browse_list)
Nov 27 12:28:15 amahi-Satellite-L455D nmbd[928]: Cannot find my workgroup WORKGROUP on subnet UNICAST_SUBNET.
Nov 27 12:28:15 amahi-Satellite-L455D nmbd[928]: collect_all_workgroup_names_from_wins_server:
Nov 27 12:28:15 amahi-Satellite-L455D nmbd[928]: [2012/11/27 12:28:15.105340, 0] nmbd/nmbd_browsesync.c:586(collect_all_workgroup_names_from_wins_server)
Nov 27 12:28:15 amahi-Satellite-L455D nmbd[928]: write_browse_list: Fatal error - cannot find my workgroup WORKGROUP
Nov 27 12:28:15 amahi-Satellite-L455D nmbd[928]: [2012/11/27 12:28:15.104264, 0] nmbd/nmbd_serverlistdb.c:328(write_browse_list)
Nov 27 12:28:05 amahi-Satellite-L455D nmbd[928]: Cannot find my workgroup WORKGROUP on subnet UNICAST_SUBNET.
Nov 27 12:28:05 amahi-Satellite-L455D nmbd[928]: collect_all_workgroup_names_from_wins_server:
Nov 27 12:28:05 amahi-Satellite-L455D nmbd[928]: [2012/11/27 12:28:05.102875, 0] nmbd/nmbd_browsesync.c:586(collect_all_workgroup_names_from_wins_server)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: problem connection to ipsec on iphone ios 5

Postby bigfoot65 » Tue Nov 27, 2012 10:36 am

What is your network workgroup name? Is the HDA workgroup set to the same? This might have something to do with the errors.

Was the wiki helpful?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

ninjallo
Posts: 4
Joined: Tue Nov 27, 2012 7:59 am

Re: problem connection to ipsec on iphone ios 5

Postby ninjallo » Tue Nov 27, 2012 10:45 am

Last I remember is it was WORKGROUP on the other computers and amahi shows WORKGROUP as well and I'm still searching the wiki trying to figure it all out

[ Post made via iPhone ] Image

ninjallo
Posts: 4
Joined: Tue Nov 27, 2012 7:59 am

Re: problem connection to ipsec on iphone ios 5

Postby ninjallo » Tue Nov 27, 2012 10:58 am

okay got the workgroup figured out heres my new error string

Nov 27 12:56:33 amahi-Satellite-L455D ovpn-openvpn[10214]: 97.83.81.72:3036 TLS: Initial packet from [AF_INET]97.83.81.72:3036, sid=fc707a5b 528a2481
Nov 27 12:56:33 amahi-Satellite-L455D ovpn-openvpn[10214]: 97.83.81.72:3036 Expected Remote Options hash (VER=V4): '41690919'
Nov 27 12:56:33 amahi-Satellite-L455D ovpn-openvpn[10214]: 97.83.81.72:3036 Local Options hash (VER=V4): '530fdded'
Nov 27 12:56:33 amahi-Satellite-L455D ovpn-openvpn[10214]: 97.83.81.72:3036 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Nov 27 12:56:33 amahi-Satellite-L455D ovpn-openvpn[10214]: 97.83.81.72:3036 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Nov 27 12:56:33 amahi-Satellite-L455D ovpn-openvpn[10214]: 97.83.81.72:3036 LZO compression initialized
Nov 27 12:56:33 amahi-Satellite-L455D ovpn-openvpn[10214]: 97.83.81.72:3036 Re-using SSL/TLS context
Nov 27 12:56:33 amahi-Satellite-L455D ovpn-openvpn[10214]: MULTI: multi_create_instance called
Nov 27 12:56:31 amahi-Satellite-L455D ovpn-openvpn[10214]: 97.83.81.72:2977 SIGUSR1[soft,tls-error] received, client-instance restarting
Nov 27 12:56:31 amahi-Satellite-L455D ovpn-openvpn[10214]: 97.83.81.72:2977 TLS Error: TLS handshake failed
Nov 27 12:56:31 amahi-Satellite-L455D ovpn-openvpn[10214]: 97.83.81.72:2977 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

Who is online

Users browsing this forum: No registered users and 11 guests