To elaborate more on the title.

I have a jump server(ubuntu) in azure portal which used to connect the azure virtual machines with private ip.After logging into the Jump server , i am connect to the azure vm's with the private IP's

But i am unable to get outbound traffic for the azure vm's with the private IP.

Kindly let me know if i need to allow any outbound traffic for azure VM's private ip


Ingress and Egress from your virtual network is controlled by Network Security Groups. By default, these do allow all outbound traffic, but if they have been adjusted to block traffic, then you will need to amend them to allow http/s out.

Check what NSGs are impacting the VMs (they can be applied both at the VM and the subnet level) and validate if they allow outbound traffic.

  • I am using my own azure portal (free account) The outbound traffic is allowed by default , I have applied the nsg at the interface level without changing any rules. So the vm(with private ip) need to get outbound traffic as per my knowledge, and this is ubuntu server. from this VM unable to ping any website to check if there any outbound traffic allowed. – mahesh ganji Dec 6 '19 at 13:06
  • Ok, comment still applies, check your NSG's – Sam Cogan Dec 6 '19 at 13:07
  • there were no change is the NSG, I have allowed all outbound traffic which is default one. – mahesh ganji Dec 6 '19 at 13:15
  • When you say it is unable to ping, is it resolving the name ok? – Sam Cogan Dec 6 '19 at 13:22
  • yes i have done the nslookup from the the azure vm(private ip) i am able to resolve the name mahesh@vm2:~$ ping google.com PING google.com ( 56(84) bytes of data. ^C --- google.com ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1029ms mahesh@vm2:~$ nslookup google.com Server: Address: Non-authoritative answer: Name: google.com Address: Name: google.com Address: 2607:f8b0:4009:807::200e – mahesh ganji Dec 7 '19 at 4:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.