Windows routing and remote access service

From Wikipedia, the free encyclopedia

Routing and Remote Access Service (RRAS) is a Microsoft API and server software that makes it possible to create applications to administer the routing and remote access service capabilities of the operating system, to function as a network router. Developers can also use RRAS to implement routing protocols. The RRAS server functionality follows and builds upon the Remote Access Service (RAS) in Windows NT 4.0.[1]

RRAS was introduced with Windows 2000 and offered as a download for Windows NT 4.0.

  • Multiprotocol router — The computer running RRAS can route IP, IPX, and AppleTalk simultaneously. All routable protocols are configured from the same administrative utility. RRAS included two unicast routing protocols, Routing Information Protocol (RIP) and Open Shortest Path First (OSPF) as well as IGMP routing and forwarding features for IP multicasting.
  • Demand-dial router — IP and IPX can be routed over on-demand or persistent WAN links such as analog phone lines or ISDN, or over VPN connections.
  • Remote access server — provides remote access connectivity to dial-up or VPN remote access clients that use IP, IPX, AppleTalk, or NetBEUI.

Routing services and remote access services used to work separately. Point-to-Point Protocol (PPP), the protocol suite commonly used to negotiate point-to-point connections, has allowed them to be combined.

RRAS can be used to create client applications. These applications display RAS common dialog boxes, manage remote access connections and devices, and manipulate phone-book entries.[2]

Routing and Remote Access Service Management Pack

[edit]

The Routing and Remote Access Service Management Pack helps a network administrator monitor the status and availability of computers running Windows Server 2008 R2.[3]

Features introduced in Windows Server 2008

[edit]

  • Server Manager – Application used to assist system administrators with installation, configuration, and management of other RRAS features.
  • Secure Socket Tunneling Protocol
  • VPN enforcement for Network Access Protection – Limits VPN connections to defined network services.
  • IPv6 support – added PPPv6, L2TP, DHCPv6, and RADIUS technologies allowing them to work over IPv6.
  • New cryptographic support – strengthened encryption algorithms to comply with U.S. government security requirements, in addition to removing algorithms which could not be strengthened.[4]

Removed technologies

[edit]

  • Bandwidth Allocation Protocol (BAP) was removed from Windows Vista, and disabled in Windows Server 2008.
  • X.25.
  • Serial Line Internet Protocol (SLIP). SLIP-based connections will automatically be updated to PPP-based connections.
  • Asynchronous Transfer Mode (ATM)
  • IP over IEEE 1394
  • NWLink IPX/SPX/NetBIOS Compatible Transport Protocol
  • Services for Macintosh
  • Open Shortest Path First (OSPF) routing protocol component in Routing and Remote Access
  • Basic Firewall in RRAS (replaced with Windows Firewall)
  • Static IP filter APIs for RRAS (replaced with Windows Filtering Platform APIs)
  • The SPAP, EAP-MD5-CHAP, and MS-CHAP authentication protocols for PPP-based connections.[4]
  • Remote Access Service
  1. ^ RRAS MSDN Library
  2. ^ Routing and Remote Access Service MSDN
  3. ^ RRAS Management Pack Guide for System Center Operations Manager 2007
  4. ^ a b What’s New in Routing and Remote Access in Windows Server 2008
  • Tech FAQ

What changes in Routing and Remote Access Services and how to setup – Windows Server 2025

IT and Virtualization Consultant. Vladan is the founder, and executive editor of the ESX Virtualization Blog at vladan.fr. He is a VMware VCAP-DCA and VCAP-DCD, and has been a vExpert from 2009 to 2023.

IT and Virtualization Consultant. Vladan is the founder, and executive editor of the ESX Virtualization Blog at vladan.fr. He is a VMware VCAP-DCA and VCAP-DCD, and has been a vExpert from 2009 to 2023.

Windows Server 2025 is the latest Microsoft Server Operating system released recently. The OS brings many new features and additions while also improves security. Through the evolution of the product, Microsoft also phasing out certain elements and protocols. Today, we’ll explore what Microsoft has changed in Routing and Remote Access Services (RRAS) compared to previous releases of Windows Server 2025 and we’ll run the process of installation and configuration of the component.

As you know, RRAS has been part of Windows Server family for a very long time. However, two of the protocols used, PPTP and L2TP, are not used by default for VPN connections, but rather the SSTP and IKEv2 connections are privileged. Yhe older PPTP and L2TP protocols can still be used, however, by default they are deactivated and rather the SSTP and IKEv2 connections are pre-configured for remote access.

If you do an in-place upgrade (yes, available for Windows Server 2025), the existing configurations keep its configuration and protocols for connections. For example, if you run Windows Server 2019 with PPTP and L2TP connections configured as VPN, then after upgrade to Windows Server 2025, those connections are still accepted.

Default configuration of RRAS protocols with Windows Server 2025

Default configuration of RRAS protocols with Windows Server 2025

As you can see, the number of ports is zero for the L2TP and PPTP types of connections, meanings that the default, the number of ports is set to zero. It means that by default, RRAS setups don’t accept VPN connections based on PPTP and L2TP protocols. You can still use them if you want, but those type of connections aren’t secure and Microsoft is phasing out those two protocols. They are deprecated. Microsoft says that:

Deprecation refers to the stage in the product lifecycle when a feature or functionality is no longer in active development and may be removed in future releases.”

What is RRAS good for?

RRAS with WS 2025 is good for remote administration and secure your remote VPNs, but many users prefer using dedicated hardware VPNs.

There might be use cases for both, hardware or software-based VPNs. Why not using the one provided by Microsoft while you already pay for CALs for your co-workers.

The Routing and Remote Access service (RRAS) supports remote user or site-to-site connectivity by using virtual private network (VPN) or dial-up connections.

When using a RRAS, you can deploy VPN connections and allow end users to connect your co-workers with remote access to your organization’s network. You can also create a site-to-site VPN connection between two servers at different locations.

If you’re using Hyper-V, you can also use RRAS as multitenant gateway where you have VMs Networks deployed with VLANs, then you can deploy RRAS in a VM which will be used as a software gateway and router that allows routing between cloud network traffic and virtual and physical networks.

Lastly, you can configure the RRAS Multitenant Gateway with Border Gateway Protocol used for dynamic routing where you can enable Network Address Translation (NAT) to provide Internet access for VMs on your VM networks.

What are system requirements for RRAS in Windows Server 2025?

The system requirements are similar to what they were in 2022 or 2019:

  • You’ll need to mee the hardware requirements (if you’re installing on physical box) first, then install WS 2025.
  • You’ll need to use an account with enough privileges (account in the local administrator’s group if the system is outside of a MS domain, or an account with administrative rights on the system).

How to Install and configure RRAS on Windows Server 2025

Open Server manager and start Add Roles and Features wizard. Then go ahead and:

  • Select Remote Access > Check Remote access in the roles section

Картинка с сайта: www.starwindsoftware.com

  • Check the box DirectAccess and VPN (RAS) and click the Add features button, with then add all the necessary tools the systems ask you for.
  • Follow the wizard and reboot the host at the end.
  • Open the RRAS console by typing RRAS in the search box. Then right click the node and select Configure and Enable Routing and Remote Access.

Configuration of RRAS in Windows Server 2025

Configuration of RRAS in Windows Server 2025

  • After successful configuration, make sure that your firewall ports accept connections on 443 for SSTP and 500/4500 for IKEv2.
  • Make sure that the host has at least 2 Network interface cards (NICs).
  • Your host should not be a domain controller

For VPN access, your AD users should be configured with following:

Each user has to be enabled to use Dial-In. (In AD > User properties > Dial-In tab > Allow access under Network Access Permission).

Installation via PowerShell

Within the Microsoft documentation we can find that it is also possible to script the installation and there is a cmdlet.

Enter and run the following cmdlet:

Install-WindowsFeature DirectAccess-VPN -IncludeManagementTools

Install-WindowsFeature DirectAccess-VPN -IncludeManagementTools

You should see the following output:

You should see the following output

Now you’re done.

Final Words

By supporting modern VPN protocols like SSTP and IKEv2, RRAS ensures encrypted connections and reliable access to internal resources, making it ideal for hybrid and remote work environments.

When comparing software-based VPNs to hardware-based VPNs, several advantages become evident, such as that software-based solutions are generally cost-effective, easier to deploy and manage, and offer greater scalability. They also provide compatibility across various operating systems and devices. However, you should always proceed with some kind of proof of concept (POC) before implementing in production.

The choice between software and hardware VPNs depends also on the specific needs and resources of an organization. Microsoft RRAS and VPN is fairly popular between IT admins as it allows you to quickly setup a VPN without spending additional funds.

Время на прочтение2 мин

Количество просмотров88K

Покопавшись по просторам интернета в поисках софта для построения своего собственного VPN, постоянно натываешься на кучу гайдов связанных с неудобным в настройке и использовании OpenVPN, требующим проприетарного клиента Wireguard, только один SoftEther из всего этого цирка отличается адекватной реализацией. Но мы расскажем, так сказать, о нативной для Windows реализации VPN – Routing And Remote Access (RRAS).

По странной причине, никто ни в одном гайде не написал про то, как это все развернуть и как включить на нем NAT,  поэтому мы сейчас все исправим и расскажем, как сделать свой собственный VPN на Windows Server.

Ну а уже готовый и преднастроенный VPN можно заказать из нашего маркетплейса, он кстати работает из коробки.

1. Устанавливаем службы

Сначала, нам понадобится Windows Server Desktop Experience. Установка Core нам не подойдет, ибо отсутствует компонент NPA. Если компьютер будет членом домена, можно остановиться и на Server Core, в таком случае все это дело можно уложить в гигабайт ОЗУ.

Нам нужно установить RRAS и NPA (Network Policy Server). Первый нам понадобится для создания туннеля, а второй нужен в случае если сервер не является членом домена.

В выборе компонентов RRAS выбираем Direct access and VPN и Routing.

2. Настраиваем RRAS

После того, как мы установили все компоненты и перезагрузили машину, нужно приступить к настройке. Как на картинке, в пуске, находим диспетчер RRAS.

Через эту оснастку мы можем управлять серверами с установленным RRAS. Жмем правой кнопкой мыши, выбираем настройку и переходим.

Пропустив первую страницу переходим к выбору конфигурации, выбираем свою.

На следующей странице нам предлагается выбрать компоненты, выбираем VPN и NAT.

Далее, далее. Готово.

Теперь нужно включить ipsec и назначить пул адресов, который будет использовать наш NAT. Жмем правой кнопкой мыши по серверу и переходим в свойства.

Первым делом вводим свой пароль для l2TP ipsec.

На вкладке IPv4 обязательно нужно установить выдаваемый клиентам диапазон ip адресов. Без этого NAT не заработает.

Теперь осталось добавить интерфейс за NAT. Переходим в подпункт IPv4, жмем правой кнопкой мыши по пустому месту и добавляем новый интерфейс.

На интерфейсе (тот который не Internal) включаем NAT.

3. Разрешаем правила в брандмауэре

Тут все просто. Нужно найти группу правил Routing and Remote Access и включить их всех.

4. Настраиваем NPS

Ищем в пуске Network Policy Server.

В закладках, где перечислены все политики, нужно включить обе стандартные. Это разрешит всем локальным пользователям подключение к VPN.

5. Подключаемся по VPN

Для демонстрационных целей выберем Windows 10. В меню пуск ищем VPN.

Жмем на кнопку добавления подключения и переходим в настройки.

Имя подключения задавайте какое вам хочется.
IP адрес – это адрес вашего VPN сервера.
Тип VPN – l2TP с предварительным ключом.
Общий ключ – vpn (для нашего образа в маркетплейсе.)
А логин и пароль — это логин и пароль от локального пользователя, то есть от администратора.

Жмем на подключение и готово. Вот и ваш собственный VPN готов.

Надеемся, наш гайд даст еще одну опцию тем, кто хочет сделать свой собственный VPN не связываясь с Linux или просто хочет добавить шлюз в свою AD.

  • База знаний
  • Windows VPN

Общая информация

В статье описывается настройка службы Microsoft Routing and Remote Access Service (RRAS) для подключения к VPN c двухфакторной аутентификацией.

Применимо к версиям:

  • Windows Server 2012 R2
  • Windows Server 2016
  • Windows Server 2019

Возможные способы аутентификации:

  • Мобильное приложение Multifactor
  • Telegram
  • Звонок (нужно принять вызов и нажать #)

Для настройки второго фактора аутентификации вам потребуется установить и настроить MULTIFACTOR Radius Adapter.

Схема работы

  1. Клиент VPN подключается к RRAS серверу, указывает логин и пароль;
  2. RRAS сервер переадресовывает запрос компоненту MULTIFACTOR Radius Adapter;
  3. Компонент проверяет логин и пароль пользователя в домене ActiveDirectory и отправляет на телефон пользователя запрос подтверждения входа;
  4. Пользователь подтверждает запрос в телефоне и подключается к VPN.

Установка и настройка Routing and Remote Access Service (RRAS)

Установка службы

  1. Откройте Server Manager, в меню Manage выберите «Add Roles and Features Wizard».
  2. В разделе Server Roles отметьте «Remote Access» «Direct Access and VPN (RAS)».
  3. Завершите установку.

Настройка службы

  1. В Server Manager, в меню Tools выберите «Routing and Remote Access».
  2. Правой кнопкой на имени сервера, далее «Configure and Enable Routing and Remote Access».

  1. Выберите пункт «Custom Configuration».

  1. Далее отметьте пункт «VPN».

  1. Завершите настройку.

Протокол подключения

RRAS предлагает несколько протоколов для VPN соединений: PPTP, L2TP/IPSec и SSTP:

  • PPTP является устаревшим и небезопасным;
  • L2TP/IPSec и IKEv2 безопасны, но используют нестандартные порты и ваши пользователи могут испытывать проблемы при подключении из домашних и публичных сетей;
  • SSTP — безопасный протокол, который использует TCP порт 443 (TLS) и является наиболее удачным вариантом.

Для того, чтоб убрать ненужные протоколы, нажмите правой кнопкой на Ports и выберите Properties. Далее нажмите Configure для каждого типа порта кроме SSTP и снимите все флажки.

Настройка аутентификации

Нажмите правой кнопкой на имени сервера, выберите Properties. Далее на вкладке «Security» в качестве Authentication Provider укажите «RADIUS Authentication» и нажмите «Configure». В список RADIUS серверов добавьте новый сервер:

  • Server name: IP адрес компонента MULTIFACTOR Radius Adapter
  • Shared Secret: общий секрет с компонентом
  • Timout: 60 секунд
  • Port: 1812
  • Поставьте флажок «Always use message authenticator»

Сохраните и закройте.

Далее нажмите на кнопку «Authentication methods» и оставьте один вариант — «Unencrypted password (PAP)».

Сохраните и закройте.

Примечание

По большому счёту все предложенные варианты аутентификации в той или иной степени уязвимы, поэтому только использование безопасного протокола подключения (SSTP) защищает от перехвата пароля.

Выбор сертификата сервера

Для шифрования трафика между клиентом и севером, а также аутентификации сервера, необходим сертификат, выданный публичным удостоверяющем центром сертификации. Вы можете купить такой сертификат или получить бесплатно в Let’s Encrypt. Как это сделать за 5 минут — читайте в нашей статье.

Выберите сертификат в разделе SSL Certificate Binding

Настройка клиента

Откройте Параметры Сеть и интернет VPN.

Добавьте новое VPN подключение:

  • Поставщик услуг: Windows (встроенные);
  • Имя подключения: произвольное;
  • Имя или адрес сервера: адрес вашего сервера;
  • Тип VPN: Протокол SSTP

Далее перейдите в настройки параметров адаптера, и откройте свойства подключения. На вкладке Безопасность выберите «Разрешить следующие протоколы»: Незашифрованный пароль (PAP).

Сохраните и закройте.

Запустите соединение, введите логин и пароль. От MULTIFACTOR придёт запрос на телефон с подтверждением

Смотрите также:

  • Портал для самостоятельно регистрации 2fa
  • Настройка двухфакторной аутентификации Remote Desktop
  • Настройка двухфакторной аутентификации на сервере CentOS

Последнее обновление 17 февраля 2025 г.

To Enable the Routing and Remote Access Service

  • Click Start, point to Administrative Tools, and then click Routing and Remote Access.
  • In the left pane of the console, click the server that matches the local server name. …
  • Right-click the server, and then click Configure and Enable Routing and Remote Access to start the Routing and Remote Access Server Setup Wizard. …

More items…

Full
Answer

On a Windows system, the Routing and Remote Access service (RRAS — service name: RemoteAccess) doesn’t start when there’s no network connectivity. For example, RemoteAccess doesn’t start when all wired network connectivity is unplugged or when wireless connectivity is shut off.

How do I enable routing and remote access in Windows Server 2003?

Installing the Routing and Remote Access Service By default, the Routing and Remote Access service is installed automatically during the Windows Server 2003 installation, but it is disabled. To Enable the Routing and Remote Access Service Click Start, point to Administrative Tools, and then click Routing and Remote Access.

How do I enable remote access to a Windows Server?

Right-click the server, and then click Configure and Enable Routing and Remote Accessto start the Routing and Remote Access Server Setup Wizard. Click Next. Click Remote access (dial-up or VPN)to permit remote computers to dial in or connect to this network through the Internet.

What is RRAS (routing and remote access service)?

The Routing and Remote Access service (RRAS) supports remote user or site-to-site connectivity by using virtual private network (VPN) or dial-up connections. In addition to this topic, the following RRAS documentation is available.

What is Routing and Remote Access service in Windows 10?

RRAS is a software router and an open platform for routing and networking. It offers routing services to businesses in local area network (LAN) and wide area network (WAN) environments or over the Internet by using secure VPN connections.

How do I enable routing and remote access service?

Right-click the server, and then click Configure and Enable Routing and Remote Access to start the Routing and Remote Access Server Setup Wizard. Click Next. Click Remote access (dial-up or VPN) to permit remote computers to dial in or connect to this network through the Internet.

What is the difference between RAS and RRAS?

Microsoft Remote Access Server (RAS) is the predecessor to Microsoft Routing and Remote Access Server (RRAS). RRAS is a Microsoft Windows Server feature that allows Microsoft Windows clients to remotely access a Microsoft Windows network.

What does remote access service do?

Remote access enables remote users to access files and other system resources on any devices or servers that are connected to the network at any time. This increases employee productivity and enables employees to better collaborate with colleagues around the world.

How do I get NAT on Windows 10?

Let’s walk through setting up a new NAT network.Open a PowerShell console as Administrator.Create an internal switch. PowerShell Copy. … Find the interface index of the virtual switch you just created. … Configure the NAT gateway using New-NetIPAddress. … Configure the NAT network using New-NetNat.

How do I enable NAT on Windows?

Right-click the server, and select Configure and Enable Routing and Remote Access.When the wizard opens, click Next.Select Network address translation (NAT) and click Next.Select the network interface that your users will use to connect to the internet, and then click Next.More items…

What is VPN and RAS?

RAS Gateway is a software router and gateway that you can use in either single tenant mode or multitenant mode. Single tenant mode allows organizations of any size to deploy the gateway as an exterior, or Internet-facing edge virtual private network (VPN) and DirectAccess server.

What is RAS in Windows 10?

Remote Access Service (RAS) provides remote access capabilities to client applications on computers running Windows.

Is RAS secure?

NT 4.0’s Remote Access Service (RAS) offers much more than encrypted authentication. Microsoft claims that using NT RAS to dial in remotely is even more secure than logging on to a LAN file server.

What happens if you give someone remote access to your computer?

This can be even worse than just conning you out of money, as undetected malware can allow hackers to steal your identity, including your passwords and financial information, over and over again, even if you get new passwords and account numbers.

What is the disadvantage of remote access?

Increased Security Vulnerabilities Remote access is a double-edged sword when it comes to system security. You see, although it comes with data encryption, access controls, and activity logging, it happens to introduce additional vulnerabilities that could be used as attack points.

What are three examples of remote access locations?

What Is Remote Access?Queens College.Harvard University Extension School.

How can you install enable and configure Remote Access services on server?

Install the Remote Access roleOn the DirectAccess server, in the Server Manager console, in the Dashboard, click Add roles and features.Click Next three times to get to the server role selection screen.On the Select Server Roles dialog, select Remote Access, and then click Next.Click Next three times.More items…•

How do I set up RRAS?

Right-click the VPN server, then select Configure and Enable Routing and Remote Access. The Routing and Remote Access Server Setup Wizard opens. In the Welcome to the Routing and Remote Access Server Setup Wizard, select Next. In Configuration, select Custom Configuration, and then select Next.

What is RRAS LAN routing?

RRAS provides multiprotocol LAN-to-LAN, LAN-to-WAN, virtual private network (VPN), and network address translation (NAT) routing services. RRAS is intended for use by system administrators who are already familiar with routing protocols and services.

How do I enable Remote Desktop on Windows Server 2019?

Open Server Manager from the Start menu. Click on the “Local server” on the left section. Click on the “Remote Desktop” disable button. Agree to Remote Desktop firewall exception warning and add users to allow by clicking on “Select Users“.

How to create a group VPN?

Create a group that contains members who are permitted to create VPN connections. Click Start, point to Administrative Tools, and then click Routing and Remote Access. In the console tree, expand Routing and Remote Access, expand the server name, and then click Remote Access Policies.

How to reconfigure a server?

To reconfigure the server, you must first disable Routing and Remote Access. You may right-click the server, and then click Disable Routing and Remote Access. Click Yes when it is prompted with an informational message.

How to enable remote access to a server?

Right-click the server, and then click Configure and Enable Routing and Remote Accessto start the Routing and Remote Access Server Setup Wizard. Click Next.

How to connect to a dial up network?

If they are, see your product documentation to complete these steps. Click Start, click Control Panel, and then double-click Network Connections. Under Network Tasks, click Create a new connection, and then click Next. Click Connect to the network at my workplace to create the dial-up connection, and then click Next.

Why upgrade to Microsoft Edge?

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Can you grant callbacks in Windows 2003?

Administrators can only grant or deny access to the user and specify callback options, which are the access permission settings available in Microsoft Windows NT 4.0. The remaining options become available after the domain has been switched to native mode.

Purpose

Remote Access Service (RAS) can be used to create client applications. These applications display RAS common dialog boxes, manage remote access connections and devices, and manipulate phone-book entries.

Developer audience

The Routing and Remote Access Service APIs are designed for use by C/C++ programmers. Programmers should also be familiar with networking concepts.

Run-time requirements

For more specific information about which operating systems support a particular function, refer to the Requirements sections in the documentation.

Why won’t rras start?

Additionally, you can’t create new incoming connections when there’s no network connectivity. This is because incoming connections require that RRAS is started .

How to start rras?

To start RRAS to create a new incoming connection, your computer needs to be connected to a network. After RRAS starts, you can still create a new incoming connection after you disconnect from the network.

How to check remote access status?

To check the status of RemoteAccess, check the state of the RemoteAccess service (Routing and Remote Access) under the Services tab in Windows Task Manager.

Popular Posts:

  • 1. epic remote access hartford hospital
  • 2. cox call forwarding remote access
  • 3. can’t get plex remote access to work
  • 4. cisco ios ikev2 remote access vpn
  • 5. cisco remote access vpn best practice
  • 6. best remote access appliance
  • 7. free program for remote access to pc
  • 8. grady epic remote access
  • 9. recalbox remote access
  • 10. software to remote access computer
  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии
  • Как перезапустить ssh windows
  • Как вернуть стандартные обои windows 10
  • Birthday программа напоминалка для windows 10
  • Слетает фон рабочего стола windows 7 что делать
  • Активатор windows 10 pro x64 2022