Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.6 Cisco IPSec VPN setup from commandline



You cannot configure VPN using networksetup.  Configure your VPN network, then use the gear icon (next to the + and - buttons) to export the configuration.  You can then have users open the vpnsetup.networkConnect file (or script this) for management/deployment.

 - Justin


On Mon, Nov 2, 2009 at 11:19 AM, Walck, Nathan Alan <email@hidden> wrote:
I'm trying to figure out a way to setup a Cisco IPSec vpn from the
commandline using the networksetup command.  When you do sudo
networksetup -listnetworkserviceorder it shows:

(7) VPN (Cisco IPSec)
(Hardware Port: IPSec, Device: )

But when you try this command:

sudo networksetup -createnetworkservice VPN IPSec

It returns:
IPSec is not a valid hardware port name.
** Error: The parameters were not valid.

Clearly the system knows that IPSec is a valid hardware port, so
perhaps networksetup wasn't updated to reflect the system change?  Any
ideas?  I need to be able to set this up from commandline...doing it
through the GUI is not an option.

Thanks

Nate

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Client-management mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/client-management/email@hidden

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Client-management mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/client-management/email@hidden

This email sent to email@hidden

References: 
 >10.6 Cisco IPSec VPN setup from commandline (From: "Walck, Nathan Alan" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.