Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Cant SSH after NSG, can telnet port 22.

$
0
0

Hello,

After implementing NSG on the Azure network. i am not able to SSH to my Linux VM with Putty/OpenSSH.

I am able to telnet port 22 on the Destination Linux VM, which means i should be able to SSH it.
If i remove the NSG from subnet, i can SSH Without any problem.

VNET1: Linux Machine 10.0.0.0/24
VNET2: MGT Machine 172.16.0.0/24
Site-to-Site VPN

NSG On VNET1 = No SSH (but can telnet port 22)

NSG on VNET1 :
INBOUND:

ALLOW-HTTPS-INBOUND  100       Allow    INTERNET        *             *                443            TCP     
ALLOW-HTTP-INBOUND   101       Allow    INTERNET        *             *                80             TCP    
ALLOW-FTP-INBOUND    102       Allow    INTERNET        *             *                21             TCP    
DENY-INTERNET-INBOUND 200       Deny     INTERNET        *             *                *              *       
ALLOW-MGT-INBOUND    1000      Allow    172.16.0.0/24   *             *                *              *      

OUTBOUND:
ALLOW-MGT-OUTBOUND   1000      Allow    *               *             172.16.0.0/24    *              *      


All ports for VNET2 are opened on Inbound and Outbound.

Is there anything i am missing?


Viewing all articles
Browse latest Browse all 6513

Trending Articles