Jump to content
Sign in to follow this  

Establish a VPN connection

Recommended Posts


Im looking for ways to connect to a vpn server with pptp...i see that rasdial allows you to connect to EXISTING entries, but im looking for a way (if possible) to connect right off the bat, say rasdial.exe /server:ASDASDASD /username /password..

is there anyway to hardcode the connection entries, so you can establish a connection directly without the need of creating a new entry in network connections, like rasdial requires

the problem is that rasdial REQUIRES an EXISTING entry...so i cant just do rasdial.exe server username password, it needs to have an installed VPN or dialup entry in network connections...i dont know why they did it like this, im looking for a "background" way to achieve the most silent vpn connection as possible

Edited by BOUNCER

Share this post

Link to post
Share on other sites

You can use Rasphone to create a Phonebook file with settings without a new entry in network connections.

Rasphone -? will help


;create a test.ini with VPN Settings

rasphone -f test.ini -a

;open the test.ini file with the name Test. For more settings like TCP/IP ...

rasphone -f test.ini -e test

With Rasdial you can use the phonebook file.


rasdail test USERNAME PASSWORD /Phonebook:test.ini

Hope this help you.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.