<p>As per @Vince's mention, I will add the comment as an optional answer. The answer that Vince gave is valid as both of the things we gave depend on the need, time spending, and pricing.</p>
<p>Answer:
I would recommend setting up OpenVPN on an Azure VM that's in the same VNET as the instance you want. Also, you can make that OpenVPN VM have a static IP and use it for other purposes, the size of the VM can be really small, and get it for cheap. The machine for OpenVPN can be found in the marketplace in Azure. There are a lot of YouTube videos for this and you have 2 free clients and you get a pretty nice UI. I would invest in that and you can have that.. VPN for a very long time, if you are ok to pay for a small VM, which you can set to turn off at night and spend even less.</p>
<p>I used this solution for work cases where we needed specific access without spending a huge amount of money. If you don't want a UI and are fine to work with cli, you can have much more users connected.</p>

CC BY-SA 4.0
2021-12-22T14:41:55.740Z
2021-12-22T14:41:55.740Z
Kristian Kanchev
<p>I wouldn't recommend trying to use vnet integration from home; <a href="https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-overview" rel="nofollow noreferrer">azure vnets</a> are complex and can involve <a href="https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways" rel="nofollow noreferrer">expensive connectivity services</a> to connect to them from your home PC.</p>
<p>Instead, I'd recommend defining a suitable ip address range to cover all the addresses your ISP might assign to your router. You will have to do some detective work to find out precisely what ip addresses are controlled by your ISP, but you should end up with a range which you can express in CIDR format, for example 123.123.0.0/16.</p>

CC BY-SA 4.0
2021-12-20T18:07:55.503Z
2021-12-20T18:07:55.503Z
Vince Bowdren
<p>I'm working from home, have a personal acct at MS Azure. My internet connection is Google Fiber 1Gb just like many other people. I'm an IT pro but totally green on Azure. While setting up some Azure services, Network connectivity section, <code>Public access</code>, <code>Firewall rules</code> says Inbound connections from the IP addresses specified below will be allowed, <code>+ Add current client IP address (123.123.123.1)</code>. Since I'm using a home router believe this IP address is not static. If <code>Private access</code> is chosen, then to use my own <code>Vnet</code>. Anyway, how do I set up for personal connection from home?</p>
<p><a href="https://i.sstatic.net/UsnC8.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/UsnC8.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2021-12-21T08:45:29.187Z
I would recommend setting up OpenVPN on an Azure VM thats in the same VNET as  the instance you want. Also you can make that OpenVPN VM have a static IP and use it for other purposes, the size of the VM can be really small and get it for cheap. The machine for OpenVPN can be found in the marketplace in Azure. There are a lot of YouTube videos for this and you have 2 free clients and you get a pretty nice UI. I would invest in that and you can have that.. VPN for a very long time, if you are ok to pay for a small VM, which you can set to turn off at night and spend even less.
Kristian Kanchev
CC BY-SA 4.0
2021-12-22T14:02:09.547Z
@KristianKanchev that's worth suggesting as an Answer
Vince Bowdren
<azure>
Public/Private Access from Home Machine without VPN
Jeb50
# Public/Private Access from Home Machine without VPN

(Asked by: username_0 on 2021-12-05)

I'm working from home, have a personal acct at MS Azure. My internet connection is Google Fiber 1Gb just like many other people. I'm an IT pro but totally green on Azure. While setting up some Azure services, Network connectivity section, `Public access`, `Firewall rules` says Inbound connections from the IP addresses specified below will be allowed, `+ Add current client IP address (123.123.123.1)`. Since I'm using a home router believe this IP address is not static. If `Private access` is chosen, then to use my own `Vnet`. Anyway, how do I set up for personal connection from home?

[![enter image description here](https://i.sstatic.net/UsnC8.png)](https://i.sstatic.net/UsnC8.png)

**Tags:** azure

> **Comments:**
> **username_1**: I would recommend setting up OpenVPN on an Azure VM thats in the same VNET as  the instance you want. Also you can make that OpenVPN VM have a static IP and use it for other purposes, the size of the VM can be really small and get it for cheap. The machine for OpenVPN can be found in the marketplace in Azure. There are a lot of YouTube videos for this and you have 2 free clients and you get a pretty nice UI. I would invest in that and you can have that.. VPN for a very long time, if you are ok to pay for a small VM, which you can set to turn off at night and spend even less.  
> **username_2**: @KristianKanchev that's worth suggesting as an Answer  

---

## 2 answers

### Answer by username_1 on 2021-12-22. Score: 1

As per @Vince's mention, I will add the comment as an optional answer. The answer that Vince gave is valid as both of the things we gave depend on the need, time spending, and pricing.

Answer:
I would recommend setting up OpenVPN on an Azure VM that's in the same VNET as the instance you want. Also, you can make that OpenVPN VM have a static IP and use it for other purposes, the size of the VM can be really small, and get it for cheap. The machine for OpenVPN can be found in the marketplace in Azure. There are a lot of YouTube videos for this and you have 2 free clients and you get a pretty nice UI. I would invest in that and you can have that.. VPN for a very long time, if you are ok to pay for a small VM, which you can set to turn off at night and spend even less.

I used this solution for work cases where we needed specific access without spending a huge amount of money. If you don't want a UI and are fine to work with cli, you can have much more users connected.


---

### Answer by username_2 on 2021-12-20. Score: 1

I wouldn't recommend trying to use vnet integration from home; [azure vnets](https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-overview) are complex and can involve [expensive connectivity services](https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways) to connect to them from your home PC.

Instead, I'd recommend defining a suitable ip address range to cover all the addresses your ISP might assign to your router. You will have to do some detective work to find out precisely what ip addresses are controlled by your ISP, but you should end up with a range which you can express in CIDR format, for example 123.123.0.0/16.


---

