Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 20, 2011, 11:33 PM   #1
Aduntu
macrumors 6502a
 
Aduntu's Avatar
 
Join Date: Mar 2010
Any Lion Server VPN users?

Are you able to run the VPN server and connect successfully?

I've tried connecting multiple devices with no luck. I've configured port mapping on the AEBS and everything appears to be turned on and functioning. I can connect to the server remotely using a VNC, so I know certain elements are functioning as they should.

Any ideas?

Last edited by Aduntu; Jul 22, 2011 at 12:22 AM.
Aduntu is offline   0 Reply With Quote
Old Jul 21, 2011, 01:29 PM   #2
hlemmon
macrumors newbie
 
Join Date: Aug 2007
I was also having trouble with setting this up, but got it working once I blew away the custom VPN related port mappings I had created manually on the AEBS and used the Server App to configure the ports automatically (Server.app > Hardware > AEBS > Public Services > Click + Button and add VPN service > Restart AEBS). Now it works like a charm.
hlemmon is offline   0 Reply With Quote
Old Jul 21, 2011, 04:14 PM   #3
noah82
macrumors 6502a
 
noah82's Avatar
 
Join Date: Oct 2008
Location: San Diego, CA
Send a message via AIM to noah82 Send a message via Skype™ to noah82
Make sure that Mobile Me is disabled on the AEBS. Disabling Mobile Me fixed the problem for me.
noah82 is offline   0 Reply With Quote
Old Jul 21, 2011, 08:06 PM   #4
Aduntu
Thread Starter
macrumors 6502a
 
Aduntu's Avatar
 
Join Date: Mar 2010
Thanks for the responses.

I've tried both suggestions to no avail. I'm beginning to think it's a daemon issue or some other OS related problem. I took the AEBS out of the picture and connected the server directly to the modem and I still couldn't connect. I also spoke with the ISP and confirmed they weren't blocking any VPN ports.

Are your VPN servers behind a modem and a single AEBS?



Update for anyone else with this problem:

My suspicions were confirmed. There was something wrong at a lower level. After a format and fresh install of Lion and Lion Server (Lion was originally installed as an upgrade), the VPN worked on the first try.

Last edited by Aduntu; Jul 22, 2011 at 12:22 AM.
Aduntu is offline   0 Reply With Quote
Old Jul 22, 2011, 11:13 AM   #5
Mork
macrumors 6502
 
Join Date: Jan 2009
Quote:
Originally Posted by Aduntu View Post
Thanks for the responses.

I've tried both suggestions to no avail. I'm beginning to think it's a daemon issue or some other OS related problem. I took the AEBS out of the picture and connected the server directly to the modem and I still couldn't connect. I also spoke with the ISP and confirmed they weren't blocking any VPN ports.

Are your VPN servers behind a modem and a single AEBS?



Update for anyone else with this problem:

My suspicions were confirmed. There was something wrong at a lower level. After a format and fresh install of Lion and Lion Server (Lion was originally installed as an upgrade), the VPN worked on the first try.

Is there a definitive response from Apple that the built-in VPN is not working? My setup VPN connection from the Mac (in Lion) to the VPN site no longer connects.
Mork is offline   0 Reply With Quote
Old Jul 28, 2011, 12:41 AM   #6
The General
Banned
 
Join Date: Jul 2006
I can't get my clients to connect either. Disabling MobileMe didn't fix it for me. I get "The L2TP-VPN server did not respond." I have all of my ports forwarded and everything else, no luck. Any ideas?
The General is offline   0 Reply With Quote
Old Jul 28, 2011, 08:16 AM   #7
Celeron
macrumors 6502a
 
Join Date: Mar 2004
Quote:
Originally Posted by The General View Post
I can't get my clients to connect either. Disabling MobileMe didn't fix it for me. I get "The L2TP-VPN server did not respond." I have all of my ports forwarded and everything else, no luck. Any ideas?
Which clients? I've found that the iPhone doesn't support some of the special characters that Server.app configures by default for the shared secret. Try a shared secret with only letters and numbers.
Celeron is offline   0 Reply With Quote
Old Jul 28, 2011, 10:38 AM   #8
DisneySMAX
macrumors member
 
Join Date: Jan 2010
I have not got the server apps but I have the VPN server working fine. I just configured it manually. I did the same on Snow Leopard and installing lion wiped out the config. I just set it up again and it works just like it did on SL. I can connect from my iPhone and iPad while out of the house.
DisneySMAX is offline   0 Reply With Quote
Old Jul 28, 2011, 07:01 PM   #9
The General
Banned
 
Join Date: Jul 2006
Quote:
Originally Posted by Celeron View Post
Which clients? I've found that the iPhone doesn't support some of the special characters that Server.app configures by default for the shared secret. Try a shared secret with only letters and numbers.
Saw that, changed the secret to be alphanumeric, still no luck. I read that my AEBS firmware (7.5.2) has a bug that breaks VPN access. I'm worried that this is my problem. Not sure what to do about this, I may have to just buy a new router, which I don't want to do.
The General is offline   0 Reply With Quote
Old Jul 28, 2011, 09:14 PM   #10
RafaelT
macrumors 65816
 
RafaelT's Avatar
 
Join Date: Jun 2010
Location: Lakeland, FL
I can't get VPN working either. All ports on my TC were forwarded correctly and my shared secret was changed.

Apple really dropped the ball on Lion server. For a company that makes such great hardware and software Lion Server is a disgrace.
__________________
Current Hardware: Early 2008 15" MacBook Pro - Mid 2010 15" MacBook Pro - iPhone 4 - iPhone 4S - iPhone 5 - iPad 2 - iPod Touch 4th Gen. x 3 - iPad Mini x 2.
Lavu Community
RafaelT is offline   1 Reply With Quote
Old Jul 29, 2011, 04:05 PM   #11
hlemmon
macrumors newbie
 
Join Date: Aug 2007
Quote:
Originally Posted by The General View Post
Saw that, changed the secret to be alphanumeric, still no luck. I read that my AEBS firmware (7.5.2) has a bug that breaks VPN access. I'm worried that this is my problem. Not sure what to do about this, I may have to just buy a new router, which I don't want to do.
I don't think the firmware is the problem, because I am using the same on my AEBS and am no longer having trouble with my VPN setup. But if you want to eliminate that as a possibility you don't have to chuck the router. It's easy to downgrade your AEBS to a prior firmware in Airport Utility, just manually configure your AEBS and click on 'Firmware:' in the list on the Summary Tab. A popup will appear allowing you to choose to upload any older firmware versions you have on disk.
hlemmon is offline   0 Reply With Quote
Old Jul 30, 2011, 08:35 AM   #12
ChristianJapan
macrumors Demi-God
 
ChristianJapan's Avatar
 
Join Date: May 2010
Location: 日本
Quote:
Originally Posted by DisneySMAX View Post
I just configured it manually. I did the same on Snow Leopard and installing lion wiped out the config. I just set it up again and it works just like it did on SL. I can connect from my iPhone and iPad while out of the house.
Do you mind sharing ? I try without any luck to get it running.

I can see that the outside device makes a connection attempt; looks like during the negotiations one of both reject. Some resending messages I have in log.

My router has a static NAT configured on UDP 500, 1701 and 4500.

It drives me crazy ...

I tried in SL (non server) and now on Lion Server
__________________
Member of MacRumors.com Folding@Home Team (#3446) & developer of the F@H Mobile Monitoring app.
ChristianJapan is offline   0 Reply With Quote
Old Jul 31, 2011, 12:24 PM   #13
timbloom
macrumors 6502a
 
timbloom's Avatar
 
Join Date: Jan 2002
Of my many problems with lion server, I have VPN working just fine. I was able to connect last night via 3G on my iPhone. One thing though: I used profile manager to download the VPN config.
Oh I also used server.app to apply mappings and blew away my previous server related port mappings. If Server.app is pushing settings that conflict with other port mappings, active or inactive, you may see unexpected results

Last edited by timbloom; Jul 31, 2011 at 12:29 PM.
timbloom is offline   0 Reply With Quote
Old Jul 31, 2011, 04:53 PM   #14
Aduntu
Thread Starter
macrumors 6502a
 
Aduntu's Avatar
 
Join Date: Mar 2010
Quote:
Originally Posted by The General View Post
I can't get my clients to connect either. Disabling MobileMe didn't fix it for me. I get "The L2TP-VPN server did not respond." I have all of my ports forwarded and everything else, no luck. Any ideas?
Did you upgrade or do a clean install?

I originally did an upgrade, VPN wouldn't work no matter what. I did a clean install and without changing any settings on the iPhone, it connected on the first try. However, I reverted to SL using a Time Machine backup and the problem started all over again, just as it had before. I then did a second clean install and it connected on the first try once again.

I also downgraded the AEBS to 7.4.2 with no success. My problem had nothing to do with the AEBS. I even took it out of the picture and connected the server directly to the modem and it behaved the same.

Based on my experience, the problem lies with the Lion upgrade, because a fresh install worked perfectly.
Aduntu is offline   0 Reply With Quote
Old Aug 1, 2011, 11:55 AM   #15
ChristianJapan
macrumors Demi-God
 
ChristianJapan's Avatar
 
Join Date: May 2010
Location: 日本
Quote:
Originally Posted by Aduntu View Post
Based on my experience, the problem lies with the Lion upgrade, because a fresh install worked perfectly.
Now I tend to agree ... After a fresh install of Lion via external disk I reinstalled the server admin and after a bit playing here and there it finally worked.

I can connect to my server from iPad and iPhone. Nice. Thanks for the hint with th e reinstall. Something got messed up when doing it bynhand before. Not sure what.

But now I'm happy camper
__________________
Member of MacRumors.com Folding@Home Team (#3446) & developer of the F@H Mobile Monitoring app.
ChristianJapan is offline   0 Reply With Quote
Old Aug 1, 2011, 12:16 PM   #16
RafaelT
macrumors 65816
 
RafaelT's Avatar
 
Join Date: Jun 2010
Location: Lakeland, FL
I had a fresh install of Lion and VPN will not work for me.

Should it be showing up in server admin? Because I don't see anything.
__________________
Current Hardware: Early 2008 15" MacBook Pro - Mid 2010 15" MacBook Pro - iPhone 4 - iPhone 4S - iPhone 5 - iPad 2 - iPod Touch 4th Gen. x 3 - iPad Mini x 2.
Lavu Community
RafaelT is offline   0 Reply With Quote
Old Aug 1, 2011, 04:37 PM   #17
ChristianJapan
macrumors Demi-God
 
ChristianJapan's Avatar
 
Join Date: May 2010
Location: 日本
Quote:
Originally Posted by RafaelT View Post
I had a fresh install of Lion and VPN will not work for me.

Should it be showing up in server admin? Because I don't see anything.
Yes; there should be an entry point for VPN in the ServerAdmin program; do you mind sharing a screenshot ?
__________________
Member of MacRumors.com Folding@Home Team (#3446) & developer of the F@H Mobile Monitoring app.
ChristianJapan is offline   0 Reply With Quote
Old Aug 1, 2011, 04:45 PM   #18
RafaelT
macrumors 65816
 
RafaelT's Avatar
 
Join Date: Jun 2010
Location: Lakeland, FL
Here ya go.. if you have any ideas please share. I would really like to get VPN going however I can live without it for now if I have to. All my mail and websites run off this server so I really can't do anything that is going to take it down for more then a couple minutes. As I said earlier I started with a clean install of Lion.
Attached Thumbnails
Click image for larger version

Name:	Server.jpg
Views:	337
Size:	65.2 KB
ID:	297018   Click image for larger version

Name:	Server_Admin.jpg
Views:	869
Size:	131.6 KB
ID:	297019  
__________________
Current Hardware: Early 2008 15" MacBook Pro - Mid 2010 15" MacBook Pro - iPhone 4 - iPhone 4S - iPhone 5 - iPad 2 - iPod Touch 4th Gen. x 3 - iPad Mini x 2.
Lavu Community
RafaelT is offline   0 Reply With Quote
Old Aug 1, 2011, 05:31 PM   #19
ChristianJapan
macrumors Demi-God
 
ChristianJapan's Avatar
 
Join Date: May 2010
Location: 日本
Quote:
Originally Posted by RafaelT View Post
Here ya go.. if you have any ideas please share. I would really like to get VPN going however I can live without it for now if I have to. All my mail and websites run off this server so I really can't do anything that is going to take it down for more then a couple minutes. As I said earlier I started with a clean install of Lion.
Sorry, I'm new to the OS X Server stuff and mixed up Server.app with ServerAdmin toolset.
It doesn't show up in ServerAdmin tool also on my machine but at least is working via Server.app.

What I did was using the "save configuration profile" to share the settings with my iDevices. I removd some special characters from the shares secret ( like ? Or , ) but kept it overall complicated. Also when getting the profiles I was on the same local WiFi as the server and also activated the "Profile Manager" service.
For the iPhone I actually mailed the file as the profile manager didn't worked on the small screen.
__________________
Member of MacRumors.com Folding@Home Team (#3446) & developer of the F@H Mobile Monitoring app.
ChristianJapan is offline   0 Reply With Quote
Old Dec 8, 2011, 11:10 AM   #20
mainstay
macrumors 6502
 
Join Date: Feb 2011
Location: BC
Quote:
Originally Posted by RafaelT View Post
Here ya go.. if you have any ideas please share. I would really like to get VPN going however I can live without it for now if I have to. All my mail and websites run off this server so I really can't do anything that is going to take it down for more then a couple minutes. As I said earlier I started with a clean install of Lion.
This is a dumb response and not sure if you've tried but it actually worked for me...

Try simply toggling VPN off, wait 5 seconds, and toggle it on.

I don't thing these toggles simply turn on/off the service, I think they rebuild the hosting information. Otherwise, reboots should have worked for me... but they didn't.
__________________
mainstay is offline   0 Reply With Quote
Old Dec 9, 2011, 12:17 PM   #21
mainstay
macrumors 6502
 
Join Date: Feb 2011
Location: BC
glad this is resolved... but for the benefit of all those that come after, could you provide insight into how the problem was fixed for you?
__________________
mainstay is offline   0 Reply With Quote
Old Oct 5, 2012, 02:48 AM   #22
throAU
macrumors 68030
 
Join Date: Feb 2012
Location: Perth, Western Australia
Quote:
Originally Posted by noah82 View Post
Make sure that Mobile Me is disabled on the AEBS. Disabling Mobile Me fixed the problem for me.

aha, cheers.

Will try that, i had all sorts of issues with it and just gave up.
__________________
MBP (early 2011) - Core i7 2720 2.2ghz, Hires Glossy, 16GB, Seagate Momentus XT 750GB
Mac Mini (mid 2007) - Core2 Duo 1.8, 2gb, 320gb 7200 rpm
iPhone 4S, iPad 4, iPad Mini, HTC One (eval)
throAU is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Share VPN connection with Mountain Lion Server velvia Mac OS X Server, Xserve, and Networking 0 Nov 30, 2013 03:54 AM
Montain Lion Server Help - Home Drives for Network Users lallm012 Mac OS X Server, Xserve, and Networking 2 Aug 13, 2013 10:58 AM
Mountain Lion Server VPN for home use irishv Mac OS X Server, Xserve, and Networking 7 Feb 5, 2013 11:59 AM
Mountain Lion Server-VPN Status dazey Mac OS X Server, Xserve, and Networking 3 Nov 2, 2012 05:28 AM
VPN Between Mountain Lion Server VPN Server and Native Mac Client - What's Missing??? 19austin85 Mac OS X Server, Xserve, and Networking 24 Sep 12, 2012 06:52 PM

Forum Jump

All times are GMT -5. The time now is 04:33 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC