Donate Us : paypal.me/MicrosoftLab
Install and configure the VPN Server in Windows Server 2022 Site to Site
1. Prepare
DC21 : File Server, IP 10.0.0.21 | WIN111 : Client, IP 10.0.0.111 | DC22 : VPN ServerSite1, IP 10.0.0.22, 10.0.2.22, Default Gateway to 10.0.2.23 | All Workgroup, turn off local firewall
DC24 : File Server, IP 10.0.3.24 | WIN112 : Client, IP 10.0.3.112 | DC23 : VPN ServerSite2, IP 10.0.3.23, 10.0.2.23, Default Gateway to 10.0.2.22 |
2. Step by step : Configure VPN between Site1DC22 and Site2DC23
DC21, WIN111 point the Default Gateway to 10.0.0.22. DC21 create and share a new folder named DataSite1
DC24, WIN112 point the Default Gateway to 10.0.3.23. DC24 create and share a new folder named DataSite2
DC22 : Install and configure the VPN Server Site1
Server Manager - Tools - Computer Management - Computer Management Local - Local Users and Groups - User - Create a new user named HiepSite1 - Double-Click HiepSite1
Dial-in tab - Network Access Permission : Choose "Allow access"
Server Manager - Manage - Add Roles and Features - Next to Server Roles : Select "Remote Access" - Next to "Role Services" : Select "DirectAccess and VPN RAS" and "Routing"
Add Features - Next to Install
Tools - Routing and Remote Access - Right-Click DC22 - Configure and Enable Routing and Remote Access - Next - Choose "Custom configuration" - Select "VPN access" and "Demand-dial connections"
Finish - Start service
Right-Click DC22 local - Properties - IPv4 tab - Static address pool - Add... - Start IP address : 10.0.0.100, End IP address : 10.0.0.120 - OK
Right-Click "Network Interfaces" - New Demand-dial Interface... - Interface name : VPNSite1 - Choose "Connect using virtual private networking VPN" - Choose "Point to point Tunneling Protocol PPTP"
Host bane or IP address : 10.0.2.23 - Select more "Add a user account so a remote router can dial in" - Entries password and confirm - Entries password and confirmHiepSite2- Finish
DC23 : Do the same DC22 with DC23Site2, User : HiepSite2, Start IP address : 10.0.3.100, End IP address : 10.0.3.120, Interface name : VPNSite2, Host bane or IP address : 10.0.2.22, allow VPN HiepSite1
DC22, DC23 : Routing and Remote Access - Network Interfaces - Right-Click VPNSite1VPNSite2 - Connect == OK
WIN111 : Test connection via VPN
Right-Click icon card network - Open Network and Sharing Center - Set up a new connection or network - Connect to a workplace - Use my Internet connection VPN
I'll set up an Internet connection later - Internet address : 10.0.2.23 - Create - Change adapter settings - Right-Click VPN Connection - Properties - Security tab
Choose "Point to Point Tunneling Protocol PPTP" - OK - Right-Click VPN Connection - Connect / Disconnect - VPN Connection - Connect - Type account HiepSite2 - Connect success
Right-Click Start - Run - \\10.0.3.24 == OK
WIN112 : Do the same WIN111 with Internet address : 10.0.2.22
Right-Click Start - Run - \\10.0.0.21 == OK
------------------------------------------------------------------------******************** / microsoftlab ********************----------------------------------------------------------------
Смотрите видео Install and configure the VPN Server in Windows Server 2022 (Site to Site - Workgroup) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь microsoft lab 05 Февраль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,260 раз и оно понравилось 16 людям.