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.