2

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.

1 Answer 1

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .