LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-23-2010, 05:00 PM   #1
ShadowHywind
Member
 
Registered: Oct 2005
Distribution: Kubuntu
Posts: 38

Rep: Reputation: 15
L2TP/IPSec/openswan server for iphone help


I am trying to setup a vpn client for my iphone since it doesn't support openvpn. However I keep running into this error message: initial Main Mode message received on <local ip>:500 but no connection has been authorized with policy=PSK
Any one have any ideas. I followed these directions (copying and pasting everything in). Any help would be great
 
Old 01-25-2010, 06:31 AM   #2
affinity
Member
 
Registered: Nov 2009
Distribution: Slackware64
Posts: 132

Rep: Reputation: 20
Are you trying to connect to the VPN from the same LAN? I don't know if this applies to all VPN connections, but with the solution we have you can't authenticate if you are on the same physical network. I'm going to read through the Openswan documentation, I haven't heard of it before and I will actually be needing a Linux IPSec solution in the next few weeks so thanks for the post even though it's because you were having problems I will try to have a better answer for you after I finish reading.

Edit: Unless I am missing something obvious, which very well could be, I believe that my original thoughts are correct. Since VPN is a tunneling protocol it does not appear to be possible for a tunnel to be made while you are on the same physical network. Hopefully someone with a greater expertise in this area can confirm or deny this. Then again I don't even know if you were trying to connect from the same network or not to begin with, so this entire post may just be a waste of your time.

Last edited by affinity; 01-25-2010 at 07:00 AM.
 
Old 01-25-2010, 09:10 AM   #3
ShadowHywind
Member
 
Registered: Oct 2005
Distribution: Kubuntu
Posts: 38

Original Poster
Rep: Reputation: 15
At first, I know I was trying to connect from within the network. But then tried connecting outside the network and the same error message as well.
 
Old 01-25-2010, 04:31 PM   #4
affinity
Member
 
Registered: Nov 2009
Distribution: Slackware64
Posts: 132

Rep: Reputation: 20
When you copied and pasted the configuration files did you replace the values with your actual addresses?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up L2TP over IPSec VPN server under CentOS 5.3 fantasygoat Linux - Networking 6 01-12-2016 03:41 AM
IPSec L2TP VPN server on Ubuntu for iPhone Apollo77 Linux - Networking 27 12-03-2010 09:27 AM
L2TP/OpenSWAN Installation on Centos 5 blackmetal Linux - Networking 0 05-18-2009 11:54 AM
Openswan IPSEC server prashanlk Linux - Networking 3 12-11-2007 10:13 PM
IPSEC/L2TP VPN Server on Fedora Core 3 using Kernel 2.6 petwalrus Linux - Networking 3 04-21-2005 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration