Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


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.