Windows 2008 RRAS VPN L2TP with Preshared Key IPsec creation

AID: 4281
  • Status: Published

4620 points

  • Bycshepfam
  • TypeTutorial
  • Posted on2010-12-23 at 15:28:31
Like many others, when I created a Windows 2008 RRAS VPN server, I connected via PPTP, and still do, but there are problems that can arise from solely using PPTP.  One particular problem was that the CFO of the company used a Virgin Broadband Wireless card to connect to the Internet and when he did he was not able to VPN into our network.  When I looked at this connection, it showed that the Virgin Broadband Wireless card connects via PPP.  This type of connection canceled out the PPTP protocol on his client, and since he was on Windows XP, there were only two types of protocols to choose from while using the Windows client.  Those two protocols are PPTP and L2TP IPsec.

This article will show the proper way in creating the L2TP IPsec protocol in Windows 2008 RRAS Server and a Windows 7 and/or Windows XP SP2 client.  

In the RRAS Server, right click on the name of your VPN server and go to properties.
Click on the Security tab and check “Allow custom IPsec policy for L2TP connection”. Create a Preshared Key, be sure to remember it, and then hit OK.  

vpn1.JPG
  • 47 KB
  • Setting up the L2TP on the server end
Setting up the L2TP on the server end


Restart the RRAS server by right clicking on the name of the RRAS server again and clicking All Tasks and Restart.

Using Windows 7 VPN client, go to the properties and select the Security tab.  On Type of VPN, select Layer 2 Tunneling Protocol with IPsec and then select the Advanced Settings tab.  Check Use Preshared Key For Authentication and type in the password you set on the server side then hit OK.

vpn2.JPG
  • 31 KB
  • Windows 7 L2TP settings
Windows 7 L2TP settings


Using Windows XP VPN client, select Properties and go to the Networking tab.  In Type of VPN, select L2TP IPsec VPN.  Click on the Security tab next and on the bottom select IPSec Settings. Check Use pre-shared Key For Authentication and enter in the key set on the server.  

 
vpn3.JPG
  • 32 KB
  • Windows XP L2TP IPSec settings
Windows XP L2TP IPSec settings


There’s one more step that you’ll need to do on either the Windows 7 box and/or the Windows XP box.  You’ll have to configure your registry if the RRAS server is behind a NAT device.  Once you make the configuration you‘ll restart your computer and the L2TP connection will work.  Microsoft has a well detailed article on the registry settings you will need to make below.

http://support.microsoft.com/kb/926179


That's it.  Your L2TP connection should now be established after you reboot your computer.
       
    Asked On
    2010-12-23 at 15:28:31ID4281
    Tags

    windows 2008

    ,

    rras

    ,

    vpn

    ,

    rras server

    ,

    rras 2008

    ,

    L2TP IPsec

    ,

    IPsec

    ,

    L2TP

    ,

    PPTP

    ,

    Windows 7 VPN

    Topic

    Virtual Private Networking (VPN)

    Views
    3776

    Comments

    Expert Comment

    by: danieldmu on 2012-03-30 at 11:04:25ID: 47951

    Excelent!!!! Works Perfectly. I had problem with PPTP because linksys devices blocked it. This solved my problem.

    Add your Comment

    Please Sign up or Log in to comment on this article.

    Join Experts Exchange Today

    Gain Access to all our Tech Resources

    Get personalized answers

    Ask unlimited questions

    Access Proven Solutions

    Search 3.2 million solutions

    Read In-Depth How-To Guides

    1000+ articles, demos, & tips

    Watch Step by Step Tutorials

    Learn direct from top tech pros

    And Much More!

    Your complete tech resource

    See Plans and Pricing

    30-day free trial. Register in 60 seconds.

    Loading Advertisement...

    Top VPN Experts

    1. RobWill

      33,240

      0 points yesterday

      Profile
      Rank: Savant
    2. erniebeek

      32,541

      0 points yesterday

      Profile
      Rank: Genius
    3. fgasimzade

      25,100

      0 points yesterday

      Profile
      Rank: Wizard
    4. jmeggers

      22,700

      0 points yesterday

      Profile
      Rank: Sage
    5. diprajbasu

      20,784

      0 points yesterday

      Profile
      Rank: Guru
    6. thinkpads_user

      19,940

      0 points yesterday

      Profile
      Rank: Genius
    7. PeteLong

      16,300

      0 points yesterday

      Profile
      Rank: Genius
    8. Kvistofta

      15,900

      0 points yesterday

      Profile
      Rank: Sage
    9. Qlemo

      15,736

      0 points yesterday

      Profile
      Rank: Genius
    10. Syed_M_Usman

      15,650

      0 points yesterday

      Profile
      Rank: Wizard
    11. arnold

      15,298

      0 points yesterday

      Profile
      Rank: Genius
    12. henkva

      15,000

      0 points yesterday

      Profile
      Rank: Master
    13. pwindell

      14,100

      0 points yesterday

      Profile
      Rank: Genius
    14. amatson78

      11,895

      10 points yesterday

      Profile
      Rank: Master
    15. giltjr

      10,912

      0 points yesterday

      Profile
      Rank: Genius
    16. ikalmar

      10,500

      0 points yesterday

      Profile
      Rank: Genius
    17. carlmd

      9,620

      0 points yesterday

      Profile
      Rank: Guru
    18. MikeKane

      9,418

      0 points yesterday

      Profile
      Rank: Genius
    19. RobMobility

      8,916

      0 points yesterday

      Profile
      Rank: Genius
    20. alienXeno

      8,800

      0 points yesterday

      Profile
      Rank: Master
    21. asavener

      8,400

      0 points yesterday

      Profile
      Rank: Sage
    22. kevinhsieh

      8,400

      0 points yesterday

      Profile
      Rank: Genius
    23. rschnitzer

      7,732

      0 points yesterday

      Profile
    24. dpk_wal

      7,700

      0 points yesterday

      Profile
      Rank: Genius
    25. Mutawadi

      7,632

      0 points yesterday

      Profile
      Rank: Guru

    Hall Of Fame