Friday, January 15, 2010

How to fix Juniper Networks Network Connect on Mac OS 10.6

So I guess this isn't exactly MySQL related, but I can't help but not post this in the hopes that Google will index it and that it will save somebody some time.

OS: Mac OS 10.6 (Snow Leopard)
Problem:
Connecting to your Juniper Networks device via web browser and clicking "Start" under the "Client Application Sessions" section to kickoff a VPN session causes the browser to seem to attempt to install the Network Connect client, but after a short time it simply returns you back to the main menu page. No VPN session is established.

Solution:
It seems there is some compatability issue with Mac OS 10.6 that is causing the problem.
Check to see if you even have a "/Applications/Network Connect.app".

If not, download and install from:

https://your.juniper.device.address/dana-cached/nc/NetworkConnect.dmg

Then in a shell:

sudo chmod 755 /usr/local/juniper/nc/6*
sudo mkdir '/Applications/Network Connect.app/Contents/Frameworks'

Logout of the Juniper VPN web portal and log back in. The Network Connect app should start automagically - if not try clicking "Start" again.

You should now have a VPN session!

Hope this helps someone out there.

Lachlan

17 comments:

  1. I can also add that you should take care with your router, I had some problems where I would get a vpn session established but no traffic flowing through it, the reason behind that was a mix of router settings as well as having vmware running.

    Thanks for the heads up on 10.6 tho!

    ReplyDelete
  2. Nice, solved my issue right away. Thanks for taking the time to share this solution

    ReplyDelete
  3. This fixed my VPN issue, thanks very much!

    ReplyDelete
  4. You have no idea how long I was looking for that .dmg. Thanks for posting!

    ReplyDelete
  5. This helped me save a ton of time. Thanks. Here is a forum I found to help collect Juniper Network Connect Logs.

    http://links.maas360.com/juniperNetworkLogs

    ReplyDelete
  6. This comment has been removed by a blog administrator.

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete
  8. You're brillant! I searched everywhere to find a solution to my Network Connect issue - I had deleted the app and just couldn't get it to work, and now you gave me the solution! thanks

    ReplyDelete
  9. Thanks for the nice comments folks - I'm glad that a few minutes of my time saved a good chunk of yours!

    ReplyDelete
  10. You are a Genius. Thank you!

    I tried to find the installer everywhere without success until you gave me the link. Thank you!

    ReplyDelete
  11. I have downloaded v6.5.0 and launched the app. Since our company uses a version of v6.4.0 it asked me to upgrade. It seemed to work and then restarted. I am able to get to my portal page and enter my credentials and even asked me if I wanted to cancel my previous session. I click continue and it hangs with "Establishing Secure Session...". I have applied the two sudo commands posted earlier and still no change. I know it isn't on the backend, considering I can launch Windows running under Parallels and run Network Connect without an issue. Any suggestions?

    ReplyDelete
  12. Awesome work! Been trying for a while to get Network Connect to function on my Mac worked beautifully!

    ReplyDelete
  13. Hello Lachlan,

    Might you have any insight on how to accomplish a "one-click" option to start the Juniper Networks "Network Connect" VPN software? I am a IT Support Technician and, between configuring the certificates and changing permissions, nothing seems to be avail. My users I support want to be able to launch Network Connect application without having to go to the web interface.

    Any help would be most appreciated.

    Thank you,
    -- Morris

    ReplyDelete
  14. Thanks. Worked perfectly.

    I have version 7 so had to change to below.
    sudo chmod 755 /usr/local/juniper/nc/7*

    Hitesh

    ReplyDelete
  15. Thanks this helped me to find the DMG after a borked network connect install after switching laptops. When changing laptops, mac messes up ownership on folders and the Java installation didn't work. I had deleted juniper files, but this may have worked without messing around in the terminal.

    ReplyDelete
  16. Thannks. This post helped me fix the problem.

    ReplyDelete