• About Us
  • Contact Us
  • Advertise
  • Privacy Policy
  • Guest Post
No Result
View All Result
Digital Phablet
  • Home
  • NewsLatest
  • Technology
    • Education Tech
    • Home Tech
    • Office Tech
    • Fintech
    • Digital Marketing
  • Social Media
  • Gaming
  • Smartphones
  • AI
  • Reviews
  • Interesting
  • How To
  • Home
  • NewsLatest
  • Technology
    • Education Tech
    • Home Tech
    • Office Tech
    • Fintech
    • Digital Marketing
  • Social Media
  • Gaming
  • Smartphones
  • AI
  • Reviews
  • Interesting
  • How To
No Result
View All Result
Digital Phablet
No Result
View All Result

Home » How to Route Traffic to a Local IP Using Azure

How to Route Traffic to a Local IP Using Azure

DP Staff by DP Staff
December 5, 2025
in How To
Reading Time: 2 mins read
A A
How to Fix Azure Student Subscription Region Error
ADVERTISEMENT

Select Language:

If you’re running an Azure virtual machine (VM) and want it to access only three specific websites—especially when those sites block connections from cloud provider IPs outside your country—you can set things up so your VM appears to access these sites from your local, trusted IP address. This way, the sites will recognize your VM’s traffic as coming from your country, and you’ll be able to access them without issues.

ADVERTISEMENT

Here’s how you can do this:

First, you need to route all traffic from your VM to go through your on-premises network, which has a public IP address trusted by the websites. This process is called selective routing. Instead of sending all internet traffic through Azure’s default paths, you’ll direct only the traffic destined for those three websites through your on-premises gateway.

Begin by identifying the public IP addresses of these websites. You can use a simple tool called nslookup on your computer to find each website’s IP address. Once you have these, you’ll create specific routes in your Azure environment.

ADVERTISEMENT

Next, update your VM subnet’s route table. For each website’s IP address, add a route that directs traffic to the Virtual Network Gateway, which connects your Azure network to your on-premises network. For example, for each website IP (like 123.45.67.89), add a route: 123.45.67.89/32 → Next hop: Virtual Network Gateway. This makes sure only traffic to those websites goes through your own network.

On your on-premises firewall (like Fortigate), make sure to allow outbound traffic to these specific IPs. This step ensures that when your Azure VM tries to access these sites, the traffic exits from your trusted local IP address and isn’t blocked.

It’s very important not to create a default route that sends all internet-bound traffic through your on-premises network. Keep the default routing as it is so that the rest of your internet traffic continues to flow directly from Azure, maintaining performance and avoiding unnecessary load on your network.

Following these steps, your VM can securely access the three websites, appearing to come from your trusted country IP, while everything else continues to access the internet normally through Azure’s usual paths. This targeted approach helps you meet your security needs without sacrificing performance or flexibility.

If you find this helpful, please consider accepting and up-voting the solution. Sharing your feedback helps others in the community find useful information.

ChatGPT ChatGPT Perplexity AI Perplexity Gemini AI Logo Gemini AI Grok AI Logo Grok AI
Google Banner
ADVERTISEMENT
DP Staff

DP Staff

Related Posts

How To

How To Find Intermediate BIOS Versions for HP Pro 6300

December 5, 2025
Yicai Cultural Salon Showcases Macau’s East-West Bridge Role
News

Yicai Cultural Salon Showcases Macau’s East-West Bridge Role

December 5, 2025
Putin and Modi to boost India-Russia Trade and Friendship
News

Putin and Modi to boost India-Russia Trade and Friendship

December 5, 2025
AI's Strategic Shift in Asia: Focus on Precision, Flexibility, Integration
Business

AI’s Strategic Shift in Asia: Focus on Precision, Flexibility, Integration

December 5, 2025
Next Post
Yicai Cultural Salon Showcases Macau’s East-West Bridge Role

Yicai Cultural Salon Showcases Macau’s East-West Bridge Role

  • About Us
  • Contact Us
  • Advertise
  • Privacy Policy
  • Guest Post

© 2025 Digital Phablet

No Result
View All Result
  • Home
  • News
  • Technology
    • Education Tech
    • Home Tech
    • Office Tech
    • Fintech
    • Digital Marketing
  • Social Media
  • Gaming
  • Smartphones

© 2025 Digital Phablet