All Products
Search
Document Center

:The public network of a Windows instance is abnormal

Last Updated:Apr 12, 2022

Problem description

Log on to the Windows instances, it was found that the network anomaly use ping command could not be connected to the Internet or not telnet RDP port using ping command to connect to the internal network interface controller of Gateway prompt "general failure "

Cause

Windows instance enables the Routing and Remote Access service, so only configuring Remote Access to the instance will result in the inability of the public network to directly Access the instance, however, the public network can use the VPN service, and Windows instances cannot Access the public network.

Solution

Alibaba Cloud reminds you that:

  • Before you perform operations that may cause risks, such as modifying instance configurations or data, we recommend that you check the disaster recovery and fault tolerance capabilities of the instances to ensure data security.
  • You can modify the configurations and data of instances including but not limited to Elastic Compute Service (ECS) and Relational Database Service (RDS) instances. Before the modification, we recommend that you create snapshots or enable RDS log backup.
  • If you have authorized or submitted sensitive information such as the logon account and password in the Alibaba Cloud Management Console, we recommend that you modify such information in a timely manner.
  1. Open the command prompt, enter cmd, and click OK to open the command line tool.
  2. Run the following command to stop the Routing and Remote Access service:
    net stop RemoteAccess
  3. Perform the following steps to configure the Routing and Remote Access service.
    1. Open Server Manager and click manage>Add roles and features, select installation type role-based or feature-based installation, and then click next.
    2. Click server selection>Select servers from the server pool and click next.
    3. Click server roles>Remote access, and then click next.
    4. Click role services>DirectAccess and VPN (RAS)>Add features>Route, and then click next.
    5. Click Next.
    6. Click Next.
    7. Click install and confirm that the installation is successful.
    8. Open the run window, enter compmgmt.msc and click OK to open the computer management.
    9. Select services and applications, right-click Routing and Remote Access, select configure and enable Routing and Remote Access>Next step>Virtual private network (VPN) access and NAT>Next.
    10. Click next.>Complete, confirming that the configuration is successful.

Application scope

  • Elastic Compute Service
  • Simple Application Server