• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
oskingen

Is there a way to create VPN in command line?

7 posts in this topic

Hi, I'm looking for a way to create the vpn in command line or vbscript... But I don't know if it is possible. I made some research but did not find yet something usefull. Is that possible ?

I add the picture to see exactly what i'm trying to do

post-172411-1215469591_thumb.jpg

Edited by hannubys
0

Share this post


Link to post
Share on other sites

It would help if you said what kind of VPN you're thinking about in the first place.

0

Share this post


Link to post
Share on other sites
It would help if you said what kind of VPN you're thinking about in the first place.

What do you mean exactly ?

for more details: It's a vpn to connect from home to the office through Internet.

0

Share this post


Link to post
Share on other sites

As far as I'm aware there's no way to create a VPN connection itself via a CLI, but you can create them via the CMAK and install them from the package it creates. However, USING a VPN connection that's installed from a command is easier - look into the rasdial command (for example: rasdial.exe <vpn_connection_name> <username> <password>).

0

Share this post


Link to post
Share on other sites
As far as I'm aware there's no way to create a VPN connection itself via a CLI, but you can create them via the CMAK and install them from the package it creates. However, USING a VPN connection that's installed from a command is easier - look into the rasdial command (for example: rasdial.exe <vpn_connection_name> <username> <password>).

Thanks! Yeah i saw on technet the use of rasdial, also as you said, don't find out a way to do it via cli. I'll take a look at CMAK, i don't know what it is.

0

Share this post


Link to post
Share on other sites
What do you mean exactly ?

I meant that as in what kind of VPN -- PPTP? L2TP? Cisco? OpenVPN? etc

But seemingly cluberti already answered it now (seeing the pic you added to your first post)

CMAK is an optional component of Windows 2003.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.