Re: Scipt Establishment of VPN Connection using JScript
From: Kadirvel C Vanniarajan [MSFT] (kadirvv_at_online.microsoft.com)
Date: 03/15/04
- Next message: Kadirvel C Vanniarajan [MSFT]: "Re: Scipt Establishment of VPN Connection using JScript"
- Previous message: Sharoon Shetty K [MSFT]: "Re: VPN data transfer problem"
- In reply to: Bob Gezelter: "Re: Scipt Establishment of VPN Connection using JScript"
- Next in thread: Kadirvel C Vanniarajan [MSFT]: "Re: Scipt Establishment of VPN Connection using JScript"
- Reply: Kadirvel C Vanniarajan [MSFT]: "Re: Scipt Establishment of VPN Connection using JScript"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 15 Mar 2004 14:22:55 +0530
Bob,
Refer to the section "To Create a Two-way VPN Connection to the Remote
Office". This talks about how to associate an interface with a routing entry
so that connection will be established when the traffic starts flowing. This
should ideally support your case.
Even otherwise, doesn't rasdial.exe provide you the facility to dial the
connection from command line? I don't know JScript but I think there should
be a way to invoke rasdial.exe from JScript.
-- Kadir kadirvv@online.microsoft.com [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights. "Bob Gezelter" <anonymous@discussions.microsoft.com> wrote in message news:C7426A23-9D08-4FB4-A2C7-C0CAA48FBCD5@microsoft.com... > Kadir, > > Perhaps I do not understand what you are saying. > > On both systems, the links to the Internet are up 24x7. The VPN is desired to be brought up on demand. Just referencing the address of the VPN'ed tunnel will not, as I understand routing work: > - there is a default route to the Internet, any address without an explicit routing rule attempts to traverse the default route > - there is no interface to refer to until the VPN is established. > > I need a scriptable equivalent to RASDial (or alternatively Start->Settings->Network Connections->(ConnectionName)->Connect (and then the ability to tear down the connection when done). > > - Bob
- Next message: Kadirvel C Vanniarajan [MSFT]: "Re: Scipt Establishment of VPN Connection using JScript"
- Previous message: Sharoon Shetty K [MSFT]: "Re: VPN data transfer problem"
- In reply to: Bob Gezelter: "Re: Scipt Establishment of VPN Connection using JScript"
- Next in thread: Kadirvel C Vanniarajan [MSFT]: "Re: Scipt Establishment of VPN Connection using JScript"
- Reply: Kadirvel C Vanniarajan [MSFT]: "Re: Scipt Establishment of VPN Connection using JScript"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|