Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Establish VPN Connection Programmatically

Status
Not open for further replies.

Moebius01

Programmer
Joined
Oct 27, 2000
Messages
309
Location
US
Apologies if this has been covered, but I found nothing while searching.

I'm trying to write a quick app that will connect to a partner via VPN, grab some queries into datasets, then dump that data back to our database (due to security, I have to have a middle-man machine in the dmz). Is there a way to launch a VPN connection from within the program?

Either building a connection on the fly and destroying, or just accessing the connection already on the system and connecting it will be fine.
 
As this project has been bumped back to the hot list, does anyone have any syntax examples of how the ipseccmd works? I've read the docs on how to create policy and rules and the like, but haven't found much on how to actually establish the connection.

For example, the client machine will need to connect to 10.10.10.10 using a given login, password and domain. So far, I've not been able to figure out how to establish the actual connection with ipseccmd. Any help would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top