Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

VPN on demand feature

I'm thoroughly convinced after a couple of days of searching on this topic that VPN on demand must be a broken feature in Tiger. Can anyone confirm otherwise?

I have tried doing all sorts of things to make it work, including trying to remove domains from the externally available DNS to see if it would use VPN on demand only if it couldn't resolve a domain (I thought it was a pretty good idea), but it still didn't work.

I want to be able to have the VPN kick in if I want to start up ARD and connect to my server, if I want to connect to an AFP share, or if I just even try to open up Server Admin and Workgroup Manager. Once I get this working for me I want to deploy it to my clients so that they will always VPN when needed (VPN tends to confuse a lot of end-users).

1.5GHz 15" PowerBook Aluminum, Mac OS X (10.4.6), 2GB RAM, 60GB 7200 RPM HD, SuperDrive, iSight

Posted on May 18, 2006 9:57 AM

Reply
7 replies

Jun 14, 2006 12:27 PM in response to aaronmarks

I did some research and found one Apple document (some Tiger marketing materials talking about security) that implied VPN on demand only works with L2TP.

I've never gotten it to work with my PPTP connection (but then, encryption doesn't work with it either). While playing around with VPN on demand, I did get "freenas.local" typed in Safari to redirect to "my.vpn.org", which was the "test" domain name I added to VPN on demand. This was unexpected - I thought that typing "freenas.local" would trigger Internet Connect to login to the VPN and pull up my local server splash page.

So SOMETHING is happening, some kind of DNS remapping? I think playing around with the right router settings (local DNS, local host name, etc) could yield results. I know there are some issues with ".local" domains so that could be throwing another wrench in the works.

Jul 17, 2006 5:32 AM in response to aaronmarks

I would just like to chime in that I've tried numerous things to make this feature work, and it's never actually done anything.

I'm essentially trying to make it automatically connect to the university's VPN whenever I access certain web-pages or try to get to any samba shares on campus...both require VPN...but don't actually seem to trigger it.

I've got pretty much every permutation of the URLs in the list, trying just leaving off sections (acm.org), adding stars ( .acm.org/), and even the protocols ( http://.acm.org/).

If anyone can make this apparently broken feature work, I'm all ears!

-Zach

PowerBook G4 1.5GHz 15, 1GB RAM Mac OS X (10.4)

Aug 22, 2006 8:59 AM in response to aaronmarks

In my testing it seems that VPN on demand is only triggered if a domain isn't able to be resolved by DNS. If you are trying to launch the vpn everytime you visit www.host.com, it will not work if www.host.com is accessible through your current internet connection.

Also it doesn't appear the pinging a host will bring up the VPN using the on demand feature.

If you tell the VPN client to bring up a VPN connection for host asdf (assuming that asdf isn't mapped to anything by your current dns settings), you can ping asdf with no results. However if you try to visit asdf in Safari, it will try to launch the VPN client and connect. It doesn't seem to work from Firefox or if you try to map to a drive on asdf using the finder.

These are just the results I'm getting. Hopefully they will help people who are trying to troubleshoot this issue, because there doesn't seem to be any good info available on the internet abou it.

Oct 26, 2006 11:15 PM in response to mwshead

Thank you! Finally I found something that helped me to get this feature work.

So just add a domain to the on demand list that does not exist and now on demand woks. I added something like asdklj.dklfdkljfkj.com and now when I type that addess in Safari the VPN connects.

It is possible to open the VPN also from the command line by typing "open http://asdklj.dklfdkljfkj.com" (without the quotes). That will bring up Safari and start the VPN.

After a while Safari ofcourse fails to open the page because it does not exists but that does not matter to me. I only wanted to get my cron jobs to launch the vpn.

Mac mini Core Duo / Powerbook G4 / iMac G5 Mac OS X (10.4.8)

VPN on demand feature

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.