About:
Give access from a computer in the office to azure vm.
Example:
You want to copy files between any computer and azure vm.
You will need to have public IP address (of the computer) connecting to the azure vm.
Steps:
- You will need the public IP address of the office computer.
- If the environment has a static public IP address, on the office computer do that following:
- Open browser
- Search for “what is my ip “
- Login to azure portal. Portal.azure.com
- Go to virtual machine
- Click on the VM you want to give access to
- Go to networking
- Click on “Add inbound port rule”
- Source
- Choose “IP Addresses”
- Source IP Address/CIDR range
- Enter the public ip address of the office computer
- Source port range
- Use *
- Destination
- Any
- Service
- Custom
- Destination Port Ranges
- Here you specify the service you want to allow access to:
- Ftp
- Type 21
- Sftp
- Type 22
- RDP
- 3389
- SMB (to copy files between shared folders)
- 445
- And so on.
- Ftp
- Here you specify the service you want to allow access to:
- Protocol
- Any
- Action
- Allow
- To allow the connection
- Deny
- To deny the connection
- Allow
- Click Add
- The rule will take time to be in effect.
- Usually wait minimum 2 hours.
- The rule will take time to be in effect.