Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
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 Jun 4, 2010, 11:18 AM   #1
lieb39
macrumors 6502
 
Join Date: Mar 2005
Location: Melbourne, Australia
Send a message via AIM to lieb39
VPN on Demand

Hello everyone,

I've searched google for quite a while now and still haven't come up with anything - I'm looking for some sort of guide that explains the 'VPN on Demand' feature and how to implement it. Could anyone point me in the general direction, or explain how to use it?

If I understand correctly, when a certain domain is being contacted, the VPN on Demand will connect the VPN first?

Thanks,
Daniel.
__________________
Macbook Pro 15" 2.66GHz 8GB 128SSD + 500GB : Macbook Air : iPhone 5 64GB : iPad '3' 16GB WiFi
lieb39 is offline   0 Reply With Quote
Old Jun 4, 2010, 01:11 PM   #2
belvdr
macrumors 68040
 
Join Date: Aug 2005
In many non-Apple deployments, that is the way it works. It realizes it needs to establish a VPN first in order to contact those hosts or networks. In situations like these, I usually nail a site-to-site VPN between the two and call it a day.
belvdr is offline   0 Reply With Quote
Old Jun 5, 2010, 06:56 AM   #3
stefanski
macrumors member
 
Join Date: Apr 2004
It's pretty much what it says. You do configure your VPN the usual way and you tick the "VPN on demand" box. Enter the domain name you would like to become the trigger for the VPN to connect. If you then enter this domain in Safari or you try to ping or ssh to it, the VPN will connect in the background, saving you the hassle of having to connect manually.

I'm not sure what you want to know about it?

Apple has a tendency to describe things in their help section as if it was a walk in the park. Sadly, with VPNs that's hardly ever the case. I have several different VPNs configured and most of the time you need to do much more than what Apple claims in their help files. Especially if you want to route only specific IPs while everything else on your mac keeps working and connecting via your normal internet connection.

Anyway, if you are a bit more specific I may be able to help you further.
stefanski is offline   0 Reply With Quote
Old Jun 5, 2010, 02:05 PM   #4
lieb39
Thread Starter
macrumors 6502
 
Join Date: Mar 2005
Location: Melbourne, Australia
Send a message via AIM to lieb39
Alright, that's the way I thought it would work. Yet, I can't get it to work.

I've setup a PPTP VPN that works fine when you connect to it - has a saved password and whatnot. It's first in the Service Order to ensure that it's used.
I've setup the VPN with the configuration 'Australia', and under the VPN on Demand section I have setup the following domains with the following Configurations:

Domain: abc.net.au Configuration: Australia
Domain: *.abc.net.au Configuration: Australia
Domain: .whatismyip.com Configuration: Australia
Domain: *.whatismyip.com Configuration: Australia

Yet when going to either domains, no matter how you put them - the VPN won't automatically connect. Have I missed something?

Thanks,
Daniel.
Attached Thumbnails
Click image for larger version

Name:	Screen shot 2010-06-05 at 3.04.19 PM.png
Views:	131
Size:	111.9 KB
ID:	229119   Click image for larger version

Name:	Screen shot 2010-06-05 at 3.04.29 PM.png
Views:	161
Size:	60.4 KB
ID:	229120  
__________________
Macbook Pro 15" 2.66GHz 8GB 128SSD + 500GB : Macbook Air : iPhone 5 64GB : iPad '3' 16GB WiFi
lieb39 is offline   0 Reply With Quote
Old Jun 6, 2010, 06:16 AM   #5
stefanski
macrumors member
 
Join Date: Apr 2004
>Have I missed something?

Yes. Well, no you haven't missed something but it just won't work as far as I can tell from my experience.

Reason 1:
If the domain is actually visible without VPN then your on demand feature won't work. Period. In other words you can't get auto connect to work if you can ping abc.net.au via normal network. If you want it to work, you have to play around with your host entries so that the OS thinks it can't get to requested network without VPN. Or add an entry like abc.net.vpn instead of abc.net.au.

Reason 2:
You may have IP6 set to auto or enabled. Disable it in both your VPN settings and in the default Ethernet settings.

Reason 3:
It's just simply broken. I have disabled this feature because it never really works reliable on my Macbook Pro as I'm constantly moving between networks. Much better to just build the VPN manually and then work away.

I hope this sheds some light and helps you solve your problem. Main thing is, if the IP is reachable without VPN then you won't get on demand to work without tricks.

Question: When you connect manually, does it all work fine or do you have some additional problems with the VPN?

Good luck, mate.

Last edited by stefanski; Jun 6, 2010 at 06:22 AM.
stefanski 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

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 On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
VPN -> Connect on demand MacVault iPad 0 Aug 29, 2011 06:10 PM
App for Wake on Demand from outside the Network? Tilpots iPhone and iPod touch Apps 12 Nov 12, 2010 02:52 AM
VPN on demand on Iphone RustyUK iPhone Tips, Help and Troubleshooting 0 Sep 3, 2009 05:33 AM
VPN On Demand in Tiger? jaseone OS X 2 Jun 14, 2006 04:17 AM
Drums on Demand announces "Bass on Demand" Apple Loops Lib... MacBytes New Mac Application Announcements 0 Feb 22, 2005 09:17 PM


All times are GMT -5. The time now is 08:49 PM.

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

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