1

I have an azure hosted sql server, for development reasons, I have added the ip address of my VPN to the firewall settings, so I can connect when I am at home etc.

I have setup an azure virtual network with a gateway and setup a point-to-site connection as detailled here.

Having connected to the gateway, ipconfig shows a section PPP adaptor myNewNetwork, with the VNets public IP address. However, when connected I tried visiting http://www.whatsmyip.org/, and it shows my routers IP address (the same IP as before connecting to the VPN). I have also tried connecting to my Database and that failed too.

Have I misunderstood what the SSTP VPN does, or is there some additional configuration required to route traffic through the VNet's public IP.

0

However, when connected I tried visiting http://www.whatsmyip.org/, and it shows my routers IP address

Based on my knowledge, it is a design behavior. When you create a Point-to-Site VPN, the traffic transfer to Internet will continue use your ISP network, the traffic will not go to Azure VNet. So, you only get your ISP public IP address.

I have also tried connecting to my Database and that failed too.

Do your database on Azure Virtual Network? Please ensure your database and your vpn gateway in the same VNet. You could test database in your lab. telnet <database private ip> port.

  • I see, is there a way to route traffic through the VNet's public IP? – George Edwards Aug 14 '17 at 8:07
  • @GeorgeEdwards You should use forced tunneling, please refer to this link. – Shui shengbao Aug 14 '17 at 8:10
  • @GeorgeEdwards Hi, your database is Paas service on a database on Azure VM? – Shui shengbao Aug 14 '17 at 8:10
  • Yes it is a Paas hosted offering – George Edwards Aug 14 '17 at 10:00
  • @GeorgeEdwards Now, Paas SQL server could not integrated into Azure VNet. – Shui shengbao Aug 14 '17 at 10:02

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.