Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

How to Set Up Routing and Remote Access on Windows Server

Routing and Remote Access Service (RRAS) is a Microsoft API and server software that allows an administrator to configure dial-up remote access servers, VPN servers, and IP routing. It's a crucial component for organizations that need to provide secure remote access to their network resources. This article will guide you through the steps to set up RRAS on a Windows Server environment, ensuring that you can manage remote connections and routing efficiently.

Examples:

  1. Installing RRAS via Server Manager:

    • Open Server Manager.
    • Click on Manage and then Add Roles and Features.
    • In the Add Roles and Features Wizard, click Next until you reach the Select server roles page.
    • Check the box for Remote Access and click Next.
    • On the Select features page, click Next.
    • On the Remote Access page, click Next.
    • On the Select role services page, check the box for Routing and DirectAccess and VPN (RAS), then click Next.
    • Click Install and wait for the installation to complete.
  2. Configuring RRAS:

    • Open Server Manager.
    • Click on Tools and then Routing and Remote Access.
    • In the RRAS management console, right-click on your server name and select Configure and Enable Routing and Remote Access.
    • In the Routing and Remote Access Server Setup Wizard, select Custom Configuration and click Next.
    • Choose the services you need (e.g., VPN access, NAT, LAN routing) and click Next.
    • Click Finish and then Start service when prompted.
  3. Setting Up VPN Access:

    • In the RRAS management console, right-click on Ports and select Properties.
    • Ensure that WAN Miniport (PPTP) and WAN Miniport (SSTP) are enabled.
    • Configure the VPN settings according to your organization's requirements.
  4. Configuring IP Routing:

    • In the RRAS management console, expand IPv4 or IPv6 and right-click on Static Routes.
    • Select New Static Route and enter the necessary information such as Destination, Network Mask, Gateway, and Metric.
    • Click OK to add the route.
  5. Using PowerShell to Configure RRAS:

    # Install the Remote Access role
    Install-WindowsFeature -Name RemoteAccess -IncludeManagementTools
    
    # Install the Routing role service
    Install-WindowsFeature -Name Routing -IncludeManagementTools
    
    # Install the DirectAccess and VPN (RAS) role service
    Install-WindowsFeature -Name DirectAccess-VPN -IncludeManagementTools
    
    # Configure RRAS for VPN and NAT
    Install-RemoteAccess -VpnType VpnSstp -NatType Full
    
    # Start the RRAS service
    Start-Service -Name RemoteAccess

To share Download PDF

Gostou do artigo? Deixe sua avaliação!
Sua opinião é muito importante para nós. Clique em um dos botões abaixo para nos dizer o que achou deste conteúdo.