1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Automate VPN connection creation

Discussion in 'Networking (Hardware & Software)' started by Grunty, 2007/05/22.

  1. 2007/05/22
    Grunty

    Grunty Inactive Thread Starter

    Joined:
    2002/11/07
    Messages:
    326
    Likes Received:
    0
    I would like to have a script or a batch file that users can run on their home machines to create a VPN connection for dialing in to the office, then another to open the connection.

    Does anyone know if this can be achieved?

    Thanks
     
  2. 2007/05/23
    ReggieB

    ReggieB Inactive Alumni

    Joined:
    2004/05/12
    Messages:
    2,786
    Likes Received:
    2
    I've had a hunt round and I can't find an easy solution. You need to create a script that will talk to RASAPI32.DLL. Some information about the API can be found here:

    http://msdn2.microsoft.com/en-us/library/ms764032.aspx

    And there is an example of using it in Python here:

    http://mail.python.org/pipermail/python-list/2001-March/075594.html

    What are you trying to do? What services do your users need to access?

    Some hardware firewalls will supply VPN client software that you can then configure and send out to remote users. For example, here are the instructions for using the WatchGuard VPN client. If you need VPN tunnels that's a route I can recommend.

    However, if you only need to allow access to a few network services (an intranet for example) secure sockets may be an easier way to go. Have a look at this review of a NetGear SSL device.
     

  3. to hide this advert.

  4. 2007/05/23
    bbbobins

    bbbobins Banned

    Joined:
    2007/02/01
    Messages:
    129
    Likes Received:
    0
    Yep Reggie I didn't find much either.

    Another option (while not scripted or automated) my be easier to be set up by a user from their home.

    hamachi
    https://secure.logmein.com/products/hamachi/advantages.asp

    The above and things like them are second choice for me.

    I would have the user allow me to RDP or VNC to their home computer and set up a native VPN, that is unless you have a very large number to connect.

    Bob
     
  5. 2007/05/24
    ReggieB

    ReggieB Inactive Alumni

    Joined:
    2004/05/12
    Messages:
    2,786
    Likes Received:
    2
    The problem with using VNC or RDP that way is you've then opened those ports to attack. The last thing you want is to have a remote desktop vulerability to manage.
     
  6. 2007/05/24
    bbbobins

    bbbobins Banned

    Joined:
    2007/02/01
    Messages:
    129
    Likes Received:
    0
    He is going to have to do it some way.

    Or go to the users home??!!

    Or talk them thru it on the phone! Yuck!

    RDP and VNC can be used to set up the VPN then be deactivated.

    This is what they are for.

    A home user almost never needs them but Corperate America uses them by the millions accepting the risk (using more security) because they get the job done. And in some cases is the only way.

    Bob
     
  7. 2007/05/25
    noahdfear

    noahdfear Inactive

    Joined:
    2003/04/06
    Messages:
    12,178
    Likes Received:
    15
    Windows Server System at the office? The Connection Manager Administration Kit from MS will allow you to create a service profile file to run on a client machine, that will configure the connection and necessary protocols for that user.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.