Home > Articles

This chapter is from the book

This chapter is from the book

Lab 4: VPN and Authentication Re-visited

Orientation

In this lab you will complete the following:

  • Configure advanced protocols for your remote access connection.

  • Learn of different ways to remotely connect to other platforms.

  • Use third-party remote-control software.

  • Prepare for the Network+ subdomain 3.4.

In Chapter 2, you configured VPN to connect a Windows 2000 Professional computer to a Windows 2000 Server. You used PPTP as your tunneling and encryption protocol. This is a fast and secure method of connecting remotely, but what if you want something more secure as far as the data and the authentication? Then you have to move into higher levels of VPN. And what if you want to connect to other platforms? Then you need other types of software to allow these secure VPNs.

Procedure

  1. Configure MS-CHAP on the client.

    1. You should still have the VPN server running. Let's begin by configuring your client to connect to the VPN server using a more complex level of authentication (user name and password verification). This will be MS-CHAP II.

    2. Go to PC1.

    3. Right-click My Network Places and find your VPN adapter. If it is not there, create a new one. Refer to Chapter 2 for instructions on creating the VPN adapter.

    4. Right-click the VPN adapter and select Properties.

    5. Click the Security tab and select Advanced (Custom Settings).

    6. Click the Settings button. This opens the Advanced Security Settings dialog box.

    7. Make sure that Require encryption is selected in the Data encryption drop-down list, and that the Microsoft CHAP (MS-CHAP) and Microsoft CHAP Version 2 (MS-CHAP v2) check boxes are selected, as shown in Figure 3.27. MS-CHAPII is already accepted by the server. MS CHAP will now be your challenge authentication scheme; it will work automatically.

    Figure 3.27

    Figure 3.27 The Advanced Security Settings dialog box.

  2. Configure L2TP and IPSec on the client. Connect through L2TP as opposed to PPTP. L2TP is a more secure way of connecting then PPTP when L2TP is used with IPSec.

    1. Click OK to close the Advanced Security Settings dialog box.

    2. In the VPN adapter Properties window, click the Networking tab.

    3. Open the Type of VPN server that I am calling drop-down list and choose Layer 2 Tunneling Protocol (L2TP), as shown in Figure 3.28.

    4. Click the Internet Protocol entry to select it and then click the Properties button.

    5. Click the Advanced button.

    6. Click the Options tab.

    7. Click the Properties button to bring you to the IP Security (IPSec) window.

    8. Figure 3.28

      Figure 3.28 Modifying the tunneling settings.

    9. Click the Use this IP Security Policy option button and from the drop-down list, select Secure Server (Require Security). This enables the system to communicate normally with other systems unless it connects via VPN to the VPN server, at which point IPSec will take effect.

    10. Click OK in all four open dialog boxes to close them.

  3. Install and configure a Certificate Authority on the server. Your client is set up, but if you were to try to connect to the VPN server you would get a 781 error because your client will now require an encryption certificate. The client must get that certificate from the server. Let's install and configure that now.

    1. Go to PC2.

    2. Click the Start button, choose Settings, and select Control Panel.

    3. Launch Add/Remove Programs.

    4. Select Windows Components.

    5. Click the Certificate Services check box to select it. A pop-up window opens; click Yes.

    6. Click Next.

    7. When asked you what type of Certificate Authority you will be installing, choose the default option, Enterprise root CA, as shown in Figure 3.29. Then click Next.

    8. Figure 3.29

      Figure 3.29 The Certificate Authority screen.

    9. Name the CA test, and the organization testlab. Leave the rest of the information as is, and click Next.

    10. Leave the Data Storage option as is and click Next.

    11. A pop-up window asks you about IIS, which needs to be stopped during the installation of the CA. Click OK. The installation of the CA will begin.

    12. If you are asked the CD, get the necessary information from D:\i386.

    13. Click Finish. The Certificate Authority is now installed.

    14. You are only half finished. Now you need to set up the CA to hand out certificates automatically and turn on the IP Security policy. First, though, set up an MMC if you have not already.

      1. Click the Start button, choose Run, and type MMC to open a new blank MMC.

      2. Click Console and select Add/Remove Snap In (alternatively, press the Ctrl+M shortcut key). A second window opens.

      3. Click Add. A third window called Add Standalone Snap-in appears, as shown in Figure 3.30.

      4. Figure 3.30

        Figure 3.30 The Add Standalone Snap-in window.

      5. To add a snap-in, select one from the list and click Add. You can add multiple snap-ins simultaneously from this window. For most of these, you will be selecting the Local Computer option. Add the following snap-ins:

        • Active Directory Users and Computers

        • Certificate Authority

        • Routing and Remote Access

      6. Group Policy (click Browse, select Default Domain Policy, and click OK. Do not select the Local Computer option for this snap-in. Then click Finish.)

      7. Click the Close button to close the Add Standalone Snap In window.

      8. Click OK in the Add/Remove Snap-in window to return to your MMC. The MMC should look like Figure 3.31. Save the console; it will automatically be saved in your administrative tools.

      Figure 3.31

      Figure 3.31 The finished MMC.

    15. Set up the server to hand out certificates automatically.

      1. In the MMC, click the Default Domain Policy entry, select Computer Configuration, choose Windows Settings, click Security Settings, select Public Key Policies, and choose Automatic Certificate Request Settings.

      2. Right-click the Automatic Certificate Request Settings entry, select New, and then select Automatic Certificate Request Settings.

      3. A wizard is launched. Click Next.

      4. When asked what type of auto certificate template you want to install, select Computer as shown in Figure 3.32. Then click Next.

      5. In the Certification Authority screen, click Next.

      6. Click Finish. You should see a certificate template called Computer on the right side, as shown in Figure 3.33.

      7. Figure 3.32

        Figure 3.32 The Certificate Template screen.

        Figure 3.33

        Figure 3.33 The finished certificate template.

      8. Save the MMC.

    16. Turn on the IP security policy.

      1. Within the MMC, expand the following options in the left pane: Default Domain Policy, Computer Configuration, Windows Settings, Security Settings. Click IP Security Policies on Active Directory to select it.

      2. This reveals three policies on the right side. None of these are yet assigned.

      3. Right-click the Secure Server option and select Assign. This assigns the security policy, allowing clients to connect as long as they were set up for Secure Server encryption in step 2h.

      4. Save the MMC and close it.

  4. Install a certificate on the client.

    1. Go to PC1.

    2. In many cases you will have to connect through a custom-made MMC, but in this case you will retain your certificate within the browser.

    3. Open Internet Explorer and, in the address bar, type http://pc2/certsrv. A Web page with the information you see in Figure 3.34 opens.

    4. Figure 3.34

      Figure 3.34 Connecting to the server’s CA via the Web browser.

    5. Make sure the "Request a certificate" option button is selected and click Next.

    6. The next screen talks about the type of request. Leave the default setting and click Next.

    7. In the next screen, click Submit.

    8. Click Yes in the pop-up window that appears.

    9. The browser should talk to the server and retrieve a certificate. Choose to install it now.

    10. Click Yes in the pop-up window that appears, and click Yes again in the next pop-up window to add the certificate to the store. You'll be informed that the certificate has been installed.

  5. Now you can connect from your client to the server through the VPN connection. Connect through L2TP and MS-CHAP II.

    1. On PC1, open the Network and Dial-up Connections window.

    2. Double-click the VPN adapter and log on with the correct user name and password. You should now be able to get in! That does it for this portion of this lab. This is usually a tough one for my students, but I am sure that you can do it! If you get a 781 error (or any other errors), make sure that you have installed the automatic certificate correctly on the server and that you have installed a certificate on the client. Also, check if you assigned the Secure Server IP policy on the server. Of course, if there are more problems, feel free to post on my site: http://www.technicalblog.com.

  6. Connect remotely to different platforms.

    1. To remotely connect to Linux, you can use Rlogin, Samba, SSH, FreeNX, and VNC.

    2. To remotely connect to Novell, you can set up a Border Manager Authentication/RADIUS connection or use NOMAD (Novell Mobile Access Delivery). To remotely connect while on the LAN, you would use the Rconsole.

    3. To remotely connect to Macintosh machines, you would need to use MACPPP connecting to a PPP server.

    4. To connect Macs to Microsoft, you would need to modify the RRAS setup.

      1. Install AppleTalk and/or Services for Macintosh.

      2. Open RRAS.

      3. Right-click the server and select Properties.

      4. On the AppleTalk tab, configure remote access options as appropriate for the computer, and then click OK.

  7. Use other programs and hardware to connect and control remotely. These include the following:

    • Four-port SOHO routers. Most of the 4 port routers like out Linksys WRT54H have the ability to connect to VPN servers. In the basic setup you can just change the Internet connection type from "Automatic Configuration- DHCP" to PPTP or L2TP. Then you can connect from the outside world. In addition, you can accept incoming remote access requests. Normally, you would open the port in question, for PPTP this would be 1723. And you would forward that port to the correct machine on your network (the VPN server) which in this case for you is PC2. An example of this is displayed in Figure 3.35. Now of course, you would have to know your router's WAN IP address, the one that was obtained automatically from the Internet. That would be what you would connect to with your Remote client (no matter where you are in the world!) Everything else remains the same as when you did the VPN lab.

    • Cisco. Cisco makes a hardware device known as a VPN concentrator that can handle incoming VPN requests. You actually log on to the concentrator itself or you set the device to do port forwarding. Check out one of their latest devices, the VPN 3000, at the following URL: http://www.cisco.com/en/US/products/hw/vpndevc/ps2284/. There are plenty of other guys out there making VPN devices; run a couple Google searches for "VPN devices" and you should get a slew more information.

    • Figure 3.35

      Figure 3.35 Port Redirection

    • Virtual Network Computing (VNC). This is free software that will allow you to connect to other systems on the LAN or over the Internet. It has built-in encryption that you can turn on or off. This system allows you to not only connect remotely but to control remotely. Check out the free download at http://www.realvnc.com/download.html. Install it on both of your machines and remotely control the other!

    • Remote Assistance and Remote Desktop. These are built-in remote connect/control programs in Windows XP. They can work over the Internet as well as on the LAN. We will show a little of this when you upgrade to XP in Chapter 4, "Network Support."

    • PC Anywhere. This third-party program is a staple in the industry. It is one of the best for remote control over the Internet and is now Web based, meaning that you use your browser to connect. Check out version 11 at http://www.symantec.com/pcanywhere/.

That pretty much does it for this lab. Great work! Let’s go over what you covered.

What Did I Just Learn?

In this lab you learned how to connect via VPN but with a more secure connection and with more secure authentication. You also learned of some of the other remote access and remote control programs that are available to you. Specifically you learned how to:

  • Use MS-CHAPII for more secure authentication of logon.

  • Configure L2TP to be your tunneling protocol and IPSec as your encrypting protocol.

  • Configure a Certificate Authority on your Windows 2000 Server.

  • Install a certificate to the Windows 2000 client.

  • Remotely access and remotely control other computers in additional ways.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020