Azure仮想マシン上のサーバーに社内のPCからVPN経由からアクセスできません。

Chiba, Teiichirou / 千葉 貞一郎 20 評価のポイント
2024-11-01T06:24:28.9433333+00:00

Azure仮想マシン上のサーバーに社内のPCからVPN経由で接続するにはどうすればよいでしょうか?

なお、VPNを介さない状況では問題は発生していません。

よろしくお願いします。

Windows 10
Windows 10
パーソナル コンピューターとタブレットで実行される Microsoft オペレーティング システム。
105 件の質問
0 件のコメント コメントはありません
{count} 件の投票

承認済みの回答
  1. Neuvi Jiang 1,460 評価のポイント Microsoft ベンダー
    2024-11-01T07:58:04.5833333+00:00

    Hi Chiba, Teiichirou,

    Thank you for posting in the Q&A Forums.

    Establishing a VPN connection:

    First, make sure that you have set up a VPN service and that your office PC can successfully connect to that VPN.This usually involves configuring the VPN client on the office PC and entering the correct VPN server address, username, and password.

    Determine the network settings for the Azure VM:

    Log in to the Azure portal and navigate to your virtual machine's resource page.

    Ensure that your virtual machine is properly configured with network settings, such as IP address, subnet mask, and default gateway.

    Connect using Remote Desktop Protocol (RDP):

    Open the Remote Desktop application (either the one that comes with your Windows system or third-party software) on your office PC.

    Enter the public IP address or fully qualified domain name of the Azure virtual machine (if a DNS entry is configured).

    If required, enter a username and password to log in to the virtual machine.

    Troubleshoot common problems:

    If you are unable to establish a connection, check the status of the VPN service to ensure that it is running and not experiencing any errors.

    Verify that the Azure virtual machine's Network Security Group (NSG) rules allow traffic over the VPN. It may be necessary to adjust the NSG rules to allow specific port traffic (e.g., port 3389, which is typically used by RDP).

    Check if any firewalls or security policies are blocking access to the Azure VM.

    Test connectivity:

    You can use the ping command or other network diagnostic tools on your office PC to test connectivity to the Azure VM.

    By testing with the VPN connection on and off separately, you can determine if the VPN is the problem.

    Best regards

    NeuviJ

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


0 件の追加の回答

並べ替え方法: 最も役に立つ

お客様の回答

回答は、質問作成者が [承諾された回答] としてマークできます。これは、ユーザーが回答が作成者の問題を解決したことを知るのに役立ちます。