So I have a VM in Azure. I would like to ensure that only I can access it. I setup port filtering so that only my IP is accepted, and only from port 3389.
The next day my IP changed, but only the last two octets, so I thought... ok I'll just use a CIDR range /16... but today I would need /24 !
Note: This isn't my only issue. My VM is running a VPN (but not on startup). I setup static routing for my IP, so that my RDP connection can make it through (after the VPN is running, if I need to disconnect and reconnect). But of course today my IP changed again, so I'll have to add this everyday??
This is planned to be a server that runs jobs daily. If I can't access the VM because of the VPN, then I have to restart the VM, this is not ideal.
I didn't see any place in Azure to filter by MAC Addresses... and of course MAC Addresses can be spoofed anyway.
Any thoughts or ideas?... Maybe I should look into that SSH thing...
Note: I don't think a static IP address is an option. My internet is provided by the building, I don't have a contract with the ISP.
Please excuse my ignorance, I never formally studied networking.