Re: Client VPN connection



Thanks Eugene, just what I was looking for. I understand using some crazy API
interface to raw com objects is abit over kill but I suppose its more
interesting, anyhow thanks again...

"Eugene Gershnik" wrote:

> firstline is the best line... wrote:
> >
> > Problem: Working within a support enviornment with several remote
> > customers using a different methods of access such as windows vpn
> > client, dial up network, pcanywhere and cisco vpn client. As you can
> > imagine keeping all support staff updated with correct details is a
> > pain in the ar?e.
> >
> > Proposed Solution; I would like to develop a solution preferably
> > using c#
>
> Why C#? In this particular case all you need is probably some combination of
> ..cmd scripts and possibly WSH.
>
> > which uses something similar to the RAS api, unfortantely Im
> > not familar with any such api I can use to intialize vpn sessions
>
> As long as VPN is the Microsoft's one you just use the same RAS API. Note
> that you don't even need an API here. The built-in command-line utility
> rasdial can do this too.
> With regards to other vendors VPN clients you will need to contact them to
> find out whether they support any programmatic or command-line interface.
> (Given the overall quality of their GUI clients I'll bet that they don't
> support any)
>
> > and
> > start remote desktop sessions.
>
> The mstsc.exe (remote desktop client) supports command line interface. Just
> type mstsc.exe /? to see what you can do with it. I am not aware of any
> documented API/COM object that expose similar functionality but if you open
> system32\rdchost.dll in OleView you'll find some interestingly looking
> classes and interfaces there.
>
>
> --
> Eugene
> http://www.gershnik.com
>
>
>
.



Relevant Pages

  • Re: Configuring Cisco VPN Client / Windows XP
    ... This suggests there's something broken with the VPN ... configuration on the target client computer. ... > Given that we see the Ethernet NIC interface and given that we see the VPN ... > access an https page that probably requires connection via the VPN. ...
    (comp.dcom.vpn)
  • Configuring Cisco VPN Client / Windows XP
    ... Given that we see the Ethernet NIC interface and given that we see the VPN ... client as a network interface: ... access an https page that probably requires connection via the VPN. ...
    (comp.dcom.vpn)
  • Re: problem with VPN running on static IP address
    ... When the VPN connects, what is displayed if you click on the icon on the ... client and select Details? ... client from the server? ... > outside interface). ...
    (microsoft.public.windows.server.networking)
  • Re: How to correctly model API dependencies in UML
    ... It's not only a GUI thing, I was more referring to the general problem, when you heavily use some API, and its classes and objects are strongly related to your own classes, be it through inheritance, composition or whatever. ... the API itself should not have multiple classes; it should be a simple message-based data transfer interface to minimize coupling. ... When the client and service have very different views of the semantics, it is sometimes necessary to introduce a "buffer" subsystem to provide the transformation of views. ...
    (comp.object)
  • RE: Cisco VPN Concentrator GUI
    ... For memebers who had doubts on it being a HW CLIENT ... ,it is a VPN Conentrator admin GUI.....can i tell them ... passwords....if yes wht kind a brute forcer cud be ... > Also it could just be the browser login interface ...
    (Pen-Test)