443 Remote Access Service

download 443 Remote Access Service

of 22

Transcript of 443 Remote Access Service

  • 8/2/2019 443 Remote Access Service

    1/22

    A TECHNICAL REPORT ON

    REMOTE ACCESS SERVICE

    Presented By

    P.SATHYANARAYANA(08J91A0443)

    ELECTRONICS AND COMMNICATION ENGINEERING

    UNDER THE GAUIDANCE OF

    Mr.G.VENU

    Assistance Professor

    ECE Dept.

    2011-2012

    VIDHYA BHARATHI INISTITUTE OF TECHNOLOGY

    (Approved by AICTE,Affiliated to JNTUH)

    PEMBARTHI, JANGAON, WARANGAL 506201

  • 8/2/2019 443 Remote Access Service

    2/22

    VIDHYA BHARATHI INISTITUTE OF TECHNOLGY(Approved by AICTE,Affiliated to JNTUH)

    PEMBARTHI, JANGAON, WARANGAL(A.P) 506201

    (Sponsored by Hyndhavi Educational Society)

    CERTIFICATE

    This is to certify that this Technical Seminar entitled

    REMOTE ACCESS SERVICE has been carried out by

    P.SATHYANARAYANA (08J91A0443), and under my supervision

    guidance and submitted in partial fulfillment of the recuirements for the

    award of B.Tech, in ELECTRONICS AND COMMUNICATION

    ENGINEERING BY Jawaharlal Nehru Technology University, A.P.

    during academic year 2011-2012 in department of Electronics and

    communication engineering.

    Mr.G.VENU Mr. B.KRANTHI KUMARAssistant professor HOD

    Guide ECE Department

    Signature: signature:

  • 8/2/2019 443 Remote Access Service

    3/22

    TABLE OF CONTENTS

    ABSTRACT

    ACKNOWLEDGEMENT

    TABLE CONTENTS

    1.INTRODUCTION

    2. TYPES OF RAS2.1 REMOTE CLIENT ACCESS

    2.2 SITE-TO-SITE ACCESS

    3.USES OF REMOTE ACCESS SERVICE

    3.1 REMOTE ACCESS SERVICES BLUEPRINT

    3.2 REMOTE ACCESS SERVICE PLANNING

    3.3 REMOTE ACCESS SERVICES BUILD

    3.4 REMOTE ACCESS SERVICES OPERATION

    4 . PURPOSE

  • 8/2/2019 443 Remote Access Service

    4/22

    5. RUN TIME REQUIREMENTS

    5.1 HARDWARE REQUIREMENTS

    5.2 SOFTWARE REQUIREMENTS

    5.3 RAS COMMON DIALOGUE BOXES

    5.4 MLINKING TO THE REMOTE ACCESS DLL

    5.5 RASCONNSTATE

    5.6 BLUEPRINT

    5.7 VIRTUAL PRIVATE NETWORK (VPN)

    6. REMOTE CLIENT ACCESS

    6.1VPN REMOTE ACCESS

    7. APPLICATIONS

    8.CONCLUSION

  • 8/2/2019 443 Remote Access Service

    5/22

    ABSTRACT

    Users connecting to a ras services, through a modem, can

    limited to accessing only that server, or can be access to the entire

    network. effectively, this is same as the local connection to the

    network, except that any type of data transfer runs significantly slower.

    you will need to select connection option appropriate to your access

    requirements available support, and budgetary constraints.

    In the current business environment, organizations are underpressure to reduce costs, increase efficiency, and maximize

    performance from the existing infrastructure. The growth of the

    Internet, together with new global business opportunities, makes it

    imperative that organizations provide secure 24x7 network access to

    employees and locations around the world.

  • 8/2/2019 443 Remote Access Service

    6/22

    ACKNOWLEDGEMENT

    Iam very thankful toMr. B.KRANTHI KUMAR & G.VENU

    who give me the opportunity to do the Project on Remote Accessing

    Services. I also want to thank to my all friend who support me to do this

    work.

    P.SATHYANARAYANA

    (08J91A0443)

  • 8/2/2019 443 Remote Access Service

    7/22

    1. INTRODUCTION

    In most networks clients are connected directly to the

    network. In some cases, however remote connection are needed for

    your users. Microsoft provides Remote Access Services to set and

    configure client access.

    Users connecting to a ras services, through a modem, can

    limited to accessing only that server, or can be access to the entire

    network. effectively, this is same as the local connection to the

    network, except that any type of data transfer runs significantly slower.

    you will need to select connection option appropriate to your access

    requirements available support, and budgetary constraints.

    In the current business environment, organizations are under

    pressure to reduce costs, increase efficiency, and maximize

    performance from the existing infrastructure. The growth of the

    Internet, together with new global business opportunities, makes itimperative that organizations provide secure 24x7 network access to

    employees and locations around the world.

  • 8/2/2019 443 Remote Access Service

    8/22

    2.TYPES OF RAS

    2.1 Remote client access

    Remote clients are usually single computers, such as home computers or laptops

    of employees who need to access enterprise resources while working at home or

    traveling.

    2.2 Site-to-site access

    Site-to-site access is used between branch offices and centralized facilities of the

    enterprise to access resources and data at different logical and physical locations.

    Both these key remote access requirements of an enterprise

    organization can be provided using a VPN. Both of these solutions

    require the underlying presence of either a dial-up connection or an

    Internet (shared) leased line connection.

  • 8/2/2019 443 Remote Access Service

    9/22

    3. USES OF REMOTE ACCESS SERVICE

    3.1 Remote Access Services Blueprint

    Provides guidance for designing remote access solutions for site-to- site

    network links as well as individual remote clients accessing an organization and its IT

    resources. The processes identified are designed to ensure that the solution is secure,

    scalable, and reliable.

    3.2 Remote Access Services Planning

    Provides a detailed analysis of the requirements and the desigchoices for

    providing remote access services in the CDC and SBO scenarios

  • 8/2/2019 443 Remote Access Service

    10/22

    3.3Remote Access Services Build

    Provides build, configuration, and test guidance for the different remote

    access services, including the use of VPN to connect remote sites and to provide

    network access for remote users.

    3.4 Remote Access Services Operation

    Provides operations references for the remote access services discussed inWSSRA (Windows Server System Remote Architecture.)

  • 8/2/2019 443 Remote Access Service

    11/22

    4 . PURPOSE

    Use Remote Access Service (RAS) to create client applications. Theseapplications display RAS common dialog boxes, manage

    Remote access connections and devices, and manipulate phone-book

    entries.

  • 8/2/2019 443 Remote Access Service

    12/22

    5. RUN TIME REQUIREMENTS

    5.1 Hardware Requirements

    There are so many hardware used in Remote access service. but some of them

    are:-

    1. Dial-in-modem

    2. Frame relay

    3. ISDN

    4. DSL

    5. VPN

    6. SSH

    7. Cable modem

    5.2 Software Requirements

    The RAS API is designed for use by C/C++ programmers. Microsoft Visual

    Basic programmers may also find the API useful. Programmers should be familiar with

    networking concepts.

    Some of the functions in the RAS API are supported only on network servers

    and other functions are supported only on network clients. For more specific information

    about which operating systems support a particular function, refer to the Requirements

    sections in documentation:-

  • 8/2/2019 443 Remote Access Service

    13/22

    5.3 RAS Common Dialog Boxes

    Windows provides a set of functions that display the RAS dialog boxes

    provided by the system. These functions make it easy for applications to display a

    familiar user interface so that users can perform RAS tasks. For example, users can

    establish and monitor connections, or work with phone-book entries. Windows 95

    does not currently support these functions.

    The RasPhonebookDlg function displays the main Dial-Up Networking

    dialog box. From this dialog box, the user can dial, edit, or delete a selected phone-

    book entry, create a new phone-book entry, or specify user preferences. The

    RasPhonebookDlg function uses theRASPBDLG structure to specify additional

    input and output parameters. For example, you can set members of the structure to

    control the position of the dialog box on the screen. You can use the RASPBDLG

    structure to specify aRasPBDlgFunc callback function that receives notifications

    of user activity while the dialog box is open. For example, RAS calls your

    RasPBDlgFunc function if the user dials, edits, creates, or deletes a phone-book

    entry.

    You can use the RasDialDlg function to start a RAS connection operation

    without displaying the main Dial-Up Networking dialog box. With RasDialDlg,

    you specify a phone number or phone-book entry to call. The function displays a

    stream of dialog boxes that indicate the state of the connection operation. The

    RasDialDlg function uses a RASDIALDLG structure to specify additional input

    http://msdn.microsoft.com/library/en-us/rras/rras/rasphonebookdlg.asphttp://msdn.microsoft.com/library/en-us/rras/rras/raspbdlg_str.asphttp://msdn.microsoft.com/library/en-us/rras/rras/raspbdlg_str.asphttp://msdn.microsoft.com/library/en-us/rras/rras/raspbdlgfunc.asphttp://msdn.microsoft.com/library/en-us/rras/rras/raspbdlgfunc.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdialdlg.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdialdlg_str.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdialdlg_str.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasphonebookdlg.asphttp://msdn.microsoft.com/library/en-us/rras/rras/raspbdlg_str.asphttp://msdn.microsoft.com/library/en-us/rras/rras/raspbdlgfunc.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdialdlg.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdialdlg_str.asp
  • 8/2/2019 443 Remote Access Service

    14/22

    and output parameters, such as position of the dialog box and the phone-book

    subentry to call.

    5.4 Linking to the Remote Access DLL

    If an application links statically to the RASAPI32 DLL, the applicationwill fail to load if Remote Access Service is not installed. A RAS application can

    load when RAS is not installed by using LoadLibrary to load the DLL, and

    GetProcAddress to obtain pointers to the RAS functions.

    The RAS functions are located in RASAPI32.DLL. The import library for

    these functions is RASAPI32.LIB. To use the RAS functions, your programs must

    include the following files:

    File Description

    RAS.HContains the RAS function prototypes, constants, and structure

    definitions.

    RASERROR.H Contains the RAS error codes.

    5.5 RASCONNSTATE

    The RASCONNSTATE enumeration type contains values that specify the

    states that can occur during a RAS connection operation. If the RasDial function is

    used to establish a RAS connection, specify a window, or a RasDialFunc,

    RasDialFunc1, or RasDialFunc2 callback function to receive notification

    messages that report the current connection state..

    http://msdn.microsoft.com/library/en-us/dllproc/base/loadlibrary.asphttp://msdn.microsoft.com/library/en-us/dllproc/base/loadlibrary.asphttp://msdn.microsoft.com/library/en-us/dllproc/base/getprocaddress.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdial.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdialfunc.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdialfunc.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdialfunc1.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdialfunc2.asphttp://msdn.microsoft.com/library/en-us/dllproc/base/loadlibrary.asphttp://msdn.microsoft.com/library/en-us/dllproc/base/getprocaddress.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdial.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdialfunc.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdialfunc1.asphttp://msdn.microsoft.com/library/en-us/rras/rras/rasdialfunc2.asp
  • 8/2/2019 443 Remote Access Service

    15/22

    typedef enum _RASCONNSTATE {

    RASCS_OpenPort = 0,

    RASCS_PortOpened,

    RASCS_ConnectDevice,

    RASCS_DeviceConnected,

    RASCS_AllDevicesConnected,

    RASCS_Authenticate,

    RASCS_AuthNotify,

    RASCS_AuthRetry,

    RASCS_AuthCallback,RASCS_AuthChangePassword,

    RASCS_AuthProject,

    RASCS_AuthLinkSpeed,

    RASCS_AuthAck,

    RASCS_ReAuthenticate,

    RASCS_Authenticated,

    RASCS_PrepareForCallback,

    RASCS_WaitForModemReset,

    RASCS_WaitForCallback,

    RASCS_Projected,

  • 8/2/2019 443 Remote Access Service

    16/22

    #if (WINVER >= 0x400)

    RASCS_StartAuthentication, // Windows 95 only

    RASCS_CallbackComplete, // Windows 95 only

    RASCS_LogonNetwork, // Windows 95 only

    #endif

    RASCS_SubEntryConnected, RASCS_SubEntryDisconnected,

    RASCS_Interactive = RASCS_PAUSED,

    RASCS_RetryAuthentication,

    RASCS_CallbackSetByCaller,

    RASCS_PasswordExpired,

    #if (WINVER >= 0x500)

    RASCS_InvokeEapUI,

    #endif

    RASCS_Connected = RASCS_DONE,

    RASCS_Disconnected

    } RASCONNSTATE ;

  • 8/2/2019 443 Remote Access Service

    17/22

    5.6 BLUEPRINT

    This blueprint provides comprehensive design guidance on remote access

    solutions that enable individual remote clients to access an organization's IT

    resources. Many organizations provide direct modem-based dial-up capability to

    the office for remote users or dedicated leased line connections between different

    locations; such remote access is not addressed in this release of Windows Server

    System Reference Architecture (WSSRA).

    This blueprint provides design guidance for enabling remote access from

    network sites and individual remote clients to an enterprise organization and its IT

    resources.

    5.7 VIRTUAL PRIVATE NETWORK (VPN)

    A virtual private network (VPN) is a secure encrypted connection between

    two endpoints that is established over a shared connection such as the Internet and

    used as an extension of an enterprise network. VPN enables the enterprise to use

    the existing global Internet infrastructure by simply connecting an office or user to

    an Internet Service Provider (ISP). VPN is also an extensible technology; for

    example, Voice over IP (VoIP) can be implemented to allow remote users to use

    their office telephone extension (with all of its messaging capabilities) wherever

    they may be workat the time. VPNs provide many technical and economic benefits

    over the traditional.

  • 8/2/2019 443 Remote Access Service

    18/22

    6. REMOTE CLIENT ACCESS

    Remote client access to enterprise IT resources, for

    small remote offices and traveling users, can be provided

    using the following options:

    Option 1Dial-up Remote Access

    A dial-up remote access connection comprises remote access clients, a remote

    access server (RAS), and some telecommunication infrastructure (typically, an analog

    phone line). A remote client uses the telecommunication infrastructure to create a

    temporary physical or virtual circuit to a port on the RAS. After the circuit is created, the

    connection parameters are set. If RAS and remote access clients are not located in a local

    telecommunication boundary, incremental long distance charges are incurred. Even

    though it has limited scalability, this solution is good for corporations that have a low

    requirement for remote access.

    Option 2VPN Remote Access

    A VPN remote access connection between a user and the enterprise data centerconsists of a VPN client, a VPN device or server, and the Internet. When a client

    accesses the Internet through a local ISP, a virtual point-to-point connection is created

    with a RAS acting as the VPN server. Once this connection is created, the parameters

    for the VPN connection can be set and a VPN tunnel established with the VPN device

    or server to access enterprise resources. In this case, the client is not required to dial

    long distance.

  • 8/2/2019 443 Remote Access Service

    19/22

    6.1 Vpn remote acess

  • 8/2/2019 443 Remote Access Service

    20/22

    7 . APPLICATIONS

    The Remote Access Service is applicable in any computing environment that uses

    a Wide Area Network (WAN) link or a Virtual Private Network (VPN). RAS makes it

    possible to connect a remote client computer to a network server over a WAN link or a

    VPN. The remote computer then functions on the server's LAN as though the remote

    computer was connected to the LAN directly. The RAS API enables programmers to

    access the features of RAS programmatically.

  • 8/2/2019 443 Remote Access Service

    21/22

    8.CONCLUSION

    Remote Access Service solution or a site-to-site linking of networks over a

    WAN. The primary method discussed for achieving this was the use of VPNs, and blueprints

    which can provide a secure and flexible solution for the enterprise.

    The Remote Access Service is applicable in any computing environment that

    uses a Wide Area Network (WAN) link or a Virtual Private Network (VPN). RAS makes itpossible to connect a remote

    client computer to a network server over a WAN link or a VPN. The remote

    computer then functions on the server's LAN as though the remote computer was connected

    to the LAN directly. The RAS API enables programmers to access the features of RAS

    programmatically.

  • 8/2/2019 443 Remote Access Service

    22/22