+ Post New Thread
Results 1 to 6 of 6
Scripts Thread, Script to create a VPN connection in Coding and Web Development; Hi, We are looking to allow remote access to the school network via a VPN connection. I have done all ...
  1. #1
    Norphy's Avatar
    Join Date
    Jan 2006
    Location
    Harpenden
    Posts
    2,236
    Thank Post
    50
    Thanked 273 Times in 211 Posts
    Blog Entries
    6
    Rep Power
    108

    Script to create a VPN connection

    Hi,

    We are looking to allow remote access to the school network via a VPN connection. I have done all of the donkey work and have got a workable solution. However my manager wants a way of scripting the creation of the VPN connection on the client PCs so that the users can't do it wrong. It's just a standard L2TP/IPSEC connection so no special VPN clients are involved.

    Does anyone have a script that can do this?

    Cheers,

    Norphy

  2. #2
    Netman's Avatar
    Join Date
    Jul 2005
    Location
    56.343515, -2.804118
    Posts
    911
    Thank Post
    367
    Thanked 190 Times in 143 Posts
    Rep Power
    54

    Re: Script to create a VPN connection

    You can create a VPN Connectoid for this using the Connection Manager Administration Kit on W2k3... (add-on install from CD)
    More here... http://technet2.microsoft.com/Window....mspx?mfr=true

  3. #3

    Join Date
    May 2006
    Posts
    159
    Thank Post
    5
    Thanked 10 Times in 5 Posts
    Rep Power
    18

    Re: Script to create a VPN connection

    Good luck with this - we have had nightmares trying to get VPN working for staff at home.

    Get ready for a world of hurt when you start to run across all the crap people have on their home machines that interferes or flat out stops VPN working. (Norton...hiss!)

    We are phasing out VPN for general use, and moving towards a Terminal Server, which I think will be more secure. With the amount of crap on peoples home machines I think VPN is probably less rather than more secure.

  4. #4
    Norphy's Avatar
    Join Date
    Jan 2006
    Location
    Harpenden
    Posts
    2,236
    Thank Post
    50
    Thanked 273 Times in 211 Posts
    Blog Entries
    6
    Rep Power
    108

    Re: Script to create a VPN connection

    We had VPN working quite well at my last place, no real issues to talk about.

    At the moment we are limiting it to school laptops only, thats the nice thing about L2TP/IPSEC, you can't connect unless you have a certificate and can't get a certificate unless we say so PPTP traffic is getting blocked at the firewall.

    I've always been a bit paranoid about exposing a school terminal server to the internet directly, personally speaking I'd rather have the extra layer that a VPN provides.

  5. #5

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115

    Re: Script to create a VPN connection

    I've always been a bit paranoid about exposing a school terminal server to the internet directly
    You can run RDP over SSL and have that use mutual authentication (same as Terminal Service Gateway in W2K8, but right now you have to find your own SSL).

    I prefer that because VPNs are typically configured so the client nukes non-VPN network connectivity during the session.. can't download that big file from wherever in the background etc.

  6. #6

    Join Date
    Apr 2010
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Smile solved

    Hi All,

    here is a dos script to do it all for you,
    download the attachement, read the readme_1st and enjoy.

    Jaber
    Attached Files Attached Files

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 13
    Last Post: 8th November 2007, 02:53 PM
  2. VB Script to create folders
    By markesmith in forum Scripts
    Replies: 2
    Last Post: 26th April 2007, 03:03 PM
  3. Internet Explorer connection script
    By alexknight in forum Wireless Networks
    Replies: 9
    Last Post: 21st September 2006, 12:45 PM
  4. Script to Create My Documents Subject Folders
    By SwedishChef in forum Scripts
    Replies: 15
    Last Post: 5th July 2006, 08:14 AM
  5. Script to create a local user on a XP box.
    By tosca925 in forum Scripts
    Replies: 3
    Last Post: 12th October 2005, 12:04 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •