Forum Discussion

Tien Ngo Thanh's avatar
Tien Ngo Thanh
Iron Contributor
May 01, 2019
Solved

How to deny VPN P2S remote to all VM in Vnet ?

Hi

    I see create VPN P2S then client can remote or access all VM in Vnet ?

   Please guide how to deny vpn P2S to all VM in Subnet that only allow to management subnet (VM in here) .Please recommend best practice on this 

Best Regards

Thanks

  • Hi,

    if I understand your question right, you want to drop the connection to defined VMs when you connected over P2S VPN, then you can create Azure NSGs with “drop” rules.

    Please give me more information.

    Thanks,
    Hannes

1 Reply

  • Hannes_LG's avatar
    Hannes_LG
    Brass Contributor
    Hi,

    if I understand your question right, you want to drop the connection to defined VMs when you connected over P2S VPN, then you can create Azure NSGs with “drop” rules.

    Please give me more information.

    Thanks,
    Hannes

Resources