How to rdp from mac to azure vm through vnet gateway2019 Community Moderator ElectionCan't rdp to Azure on Mac OS XCan't rdp to Azure on Mac OS XHow to run .rdp file in Mac OSX?Microsoft RDP for mac has no resume and reconnects with new session each time after minimizedKubernetes cluster in private vnet with VPN gateway (Azure)How can I connect an azure app service plan to a vnet which is also connected through peering to another vnetQ: Azure S2S VNet VPN with failoverazure single vpn gateway for connecting multiple resources in different azure aks clusterHow to integrate Azure Web App with a VNet with gateway transitCannot ping from on-prem machine to an azure vnetCannot connect to both RDP and SQL Server(Azure) over VPN at the same time

Interplanetary conflict, some disease destroys the ability to understand or appreciate music

Does Mathematica reuse previous computations?

Bach's Toccata and Fugue in D minor breaks the "no parallel octaves" rule?

Welcoming 2019 Pi day: How to draw the letter π?

Is there a data structure that only stores hash codes and not the actual objects?

Sailing the cryptic seas

Employee lack of ownership

Define, (actually define) the "stability" and "energy" of a compound

Are all passive ability checks floors for active ability checks?

What's the meaning of “spike” in the context of “adrenaline spike”?

SOQL: Populate a Literal List in WHERE IN Clause

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

How to create the Curved texte?

Are ETF trackers fundamentally better than individual stocks?

How do anti-virus programs start at Windows boot?

Does Wild Magic Surge trigger off of spells on the Sorcerer spell list, if I learned them from another class?

Do the common programs (for example: "ls", "cat") in Linux and BSD come from the same source code?

How Could an Airship Be Repaired Mid-Flight

Is a party consisting of only a bard, a cleric, and a warlock functional long-term?

Why would a flight no longer considered airworthy be redirected like this?

What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?

Co-worker team leader wants to inject his friend's awful software into our development. What should I say to our common boss?

What has been your most complicated TikZ drawing?

How to read the value of this capacitor?



How to rdp from mac to azure vm through vnet gateway



2019 Community Moderator ElectionCan't rdp to Azure on Mac OS XCan't rdp to Azure on Mac OS XHow to run .rdp file in Mac OSX?Microsoft RDP for mac has no resume and reconnects with new session each time after minimizedKubernetes cluster in private vnet with VPN gateway (Azure)How can I connect an azure app service plan to a vnet which is also connected through peering to another vnetQ: Azure S2S VNet VPN with failoverazure single vpn gateway for connecting multiple resources in different azure aks clusterHow to integrate Azure Web App with a VNet with gateway transitCannot ping from on-prem machine to an azure vnetCannot connect to both RDP and SQL Server(Azure) over VPN at the same time










0















I am trying to rdp from my local mac to an Azure instance through a (IKEv2) vpn connection. I am never prompted for a password, and it looks like the connection just times out. The error code I get is 0x204.



I have tried using both Microsoft Remote Desktop 8 and 10 for mac.



The connection is active and reports that it is connected.



From the mac, I can connect to another VM (in the same azure account) which is not running behind a vpn.



From Parallels Desktop (with networking set to Shared mode and the vpn connection active on the mac), I can successfully connect using the windows rdp client.



So it seems the Microsoft RDP-client for mac is not using the vpn connection.



Is there a way to make it do so?



Is there another solution, that will allow me to rdp to an Azure VM from my mac (without going through Parallels)?




Note: This is not the same question as this, since that is not about going through an azure vnet gateway.










share|improve this question






















  • i think you need to add a route to connect to that subnet through vnet gateway, windows does that by default, mac obviously cant because its crap ;)

    – 4c74356b41
    Mar 7 at 14:21











  • Could you elaborate on how to "add a route to connect to that subnet"?

    – AdamAL
    Mar 7 at 14:26











  • not a Linux person exactly, it's easily Google able. it's route add in windows

    – 4c74356b41
    Mar 7 at 14:32











  • I, on the other hand, am not strong in networking. From your cues, and googling, I figure your suggestion has to do with static routing, though I am not even exactly sure what that would mean in this context. Could you elaborate on what you think the basic failure mode is, and what conceptually needs to happen to make it work?

    – AdamAL
    Mar 7 at 15:19











  • looking at official doc, this might not be needed, did you follow this: docs.microsoft.com/en-us/azure/vpn-gateway/… ?

    – 4c74356b41
    Mar 7 at 15:22















0















I am trying to rdp from my local mac to an Azure instance through a (IKEv2) vpn connection. I am never prompted for a password, and it looks like the connection just times out. The error code I get is 0x204.



I have tried using both Microsoft Remote Desktop 8 and 10 for mac.



The connection is active and reports that it is connected.



From the mac, I can connect to another VM (in the same azure account) which is not running behind a vpn.



From Parallels Desktop (with networking set to Shared mode and the vpn connection active on the mac), I can successfully connect using the windows rdp client.



So it seems the Microsoft RDP-client for mac is not using the vpn connection.



Is there a way to make it do so?



Is there another solution, that will allow me to rdp to an Azure VM from my mac (without going through Parallels)?




Note: This is not the same question as this, since that is not about going through an azure vnet gateway.










share|improve this question






















  • i think you need to add a route to connect to that subnet through vnet gateway, windows does that by default, mac obviously cant because its crap ;)

    – 4c74356b41
    Mar 7 at 14:21











  • Could you elaborate on how to "add a route to connect to that subnet"?

    – AdamAL
    Mar 7 at 14:26











  • not a Linux person exactly, it's easily Google able. it's route add in windows

    – 4c74356b41
    Mar 7 at 14:32











  • I, on the other hand, am not strong in networking. From your cues, and googling, I figure your suggestion has to do with static routing, though I am not even exactly sure what that would mean in this context. Could you elaborate on what you think the basic failure mode is, and what conceptually needs to happen to make it work?

    – AdamAL
    Mar 7 at 15:19











  • looking at official doc, this might not be needed, did you follow this: docs.microsoft.com/en-us/azure/vpn-gateway/… ?

    – 4c74356b41
    Mar 7 at 15:22













0












0








0








I am trying to rdp from my local mac to an Azure instance through a (IKEv2) vpn connection. I am never prompted for a password, and it looks like the connection just times out. The error code I get is 0x204.



I have tried using both Microsoft Remote Desktop 8 and 10 for mac.



The connection is active and reports that it is connected.



From the mac, I can connect to another VM (in the same azure account) which is not running behind a vpn.



From Parallels Desktop (with networking set to Shared mode and the vpn connection active on the mac), I can successfully connect using the windows rdp client.



So it seems the Microsoft RDP-client for mac is not using the vpn connection.



Is there a way to make it do so?



Is there another solution, that will allow me to rdp to an Azure VM from my mac (without going through Parallels)?




Note: This is not the same question as this, since that is not about going through an azure vnet gateway.










share|improve this question














I am trying to rdp from my local mac to an Azure instance through a (IKEv2) vpn connection. I am never prompted for a password, and it looks like the connection just times out. The error code I get is 0x204.



I have tried using both Microsoft Remote Desktop 8 and 10 for mac.



The connection is active and reports that it is connected.



From the mac, I can connect to another VM (in the same azure account) which is not running behind a vpn.



From Parallels Desktop (with networking set to Shared mode and the vpn connection active on the mac), I can successfully connect using the windows rdp client.



So it seems the Microsoft RDP-client for mac is not using the vpn connection.



Is there a way to make it do so?



Is there another solution, that will allow me to rdp to an Azure VM from my mac (without going through Parallels)?




Note: This is not the same question as this, since that is not about going through an azure vnet gateway.







macos azure vpn rdp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 7 at 14:20









AdamALAdamAL

667512




667512












  • i think you need to add a route to connect to that subnet through vnet gateway, windows does that by default, mac obviously cant because its crap ;)

    – 4c74356b41
    Mar 7 at 14:21











  • Could you elaborate on how to "add a route to connect to that subnet"?

    – AdamAL
    Mar 7 at 14:26











  • not a Linux person exactly, it's easily Google able. it's route add in windows

    – 4c74356b41
    Mar 7 at 14:32











  • I, on the other hand, am not strong in networking. From your cues, and googling, I figure your suggestion has to do with static routing, though I am not even exactly sure what that would mean in this context. Could you elaborate on what you think the basic failure mode is, and what conceptually needs to happen to make it work?

    – AdamAL
    Mar 7 at 15:19











  • looking at official doc, this might not be needed, did you follow this: docs.microsoft.com/en-us/azure/vpn-gateway/… ?

    – 4c74356b41
    Mar 7 at 15:22

















  • i think you need to add a route to connect to that subnet through vnet gateway, windows does that by default, mac obviously cant because its crap ;)

    – 4c74356b41
    Mar 7 at 14:21











  • Could you elaborate on how to "add a route to connect to that subnet"?

    – AdamAL
    Mar 7 at 14:26











  • not a Linux person exactly, it's easily Google able. it's route add in windows

    – 4c74356b41
    Mar 7 at 14:32











  • I, on the other hand, am not strong in networking. From your cues, and googling, I figure your suggestion has to do with static routing, though I am not even exactly sure what that would mean in this context. Could you elaborate on what you think the basic failure mode is, and what conceptually needs to happen to make it work?

    – AdamAL
    Mar 7 at 15:19











  • looking at official doc, this might not be needed, did you follow this: docs.microsoft.com/en-us/azure/vpn-gateway/… ?

    – 4c74356b41
    Mar 7 at 15:22
















i think you need to add a route to connect to that subnet through vnet gateway, windows does that by default, mac obviously cant because its crap ;)

– 4c74356b41
Mar 7 at 14:21





i think you need to add a route to connect to that subnet through vnet gateway, windows does that by default, mac obviously cant because its crap ;)

– 4c74356b41
Mar 7 at 14:21













Could you elaborate on how to "add a route to connect to that subnet"?

– AdamAL
Mar 7 at 14:26





Could you elaborate on how to "add a route to connect to that subnet"?

– AdamAL
Mar 7 at 14:26













not a Linux person exactly, it's easily Google able. it's route add in windows

– 4c74356b41
Mar 7 at 14:32





not a Linux person exactly, it's easily Google able. it's route add in windows

– 4c74356b41
Mar 7 at 14:32













I, on the other hand, am not strong in networking. From your cues, and googling, I figure your suggestion has to do with static routing, though I am not even exactly sure what that would mean in this context. Could you elaborate on what you think the basic failure mode is, and what conceptually needs to happen to make it work?

– AdamAL
Mar 7 at 15:19





I, on the other hand, am not strong in networking. From your cues, and googling, I figure your suggestion has to do with static routing, though I am not even exactly sure what that would mean in this context. Could you elaborate on what you think the basic failure mode is, and what conceptually needs to happen to make it work?

– AdamAL
Mar 7 at 15:19













looking at official doc, this might not be needed, did you follow this: docs.microsoft.com/en-us/azure/vpn-gateway/… ?

– 4c74356b41
Mar 7 at 15:22





looking at official doc, this might not be needed, did you follow this: docs.microsoft.com/en-us/azure/vpn-gateway/… ?

– 4c74356b41
Mar 7 at 15:22












1 Answer
1






active

oldest

votes


















0














I needed to add hosts file entries for each azure site I needed to access.



For example for accessing my-vm-name.someregion.cloudapp.azure.com, I needed to add a hosts file entry for it's private IP within the subnet. E.g. 10.2.0.100.



The reason everything worked in Windows under Parallels, is that the relevant entries had already been added to the hosts file previously.






share|improve this answer























  • In Windows it doesn't add to host file, anytime the VPN connects it adds static route to network.

    – Hannel
    Mar 10 at 3:01











  • If this is your solution, you could accept it as an answer.

    – Nancy Xiong
    2 days ago











  • @NancyXiong, yep. I couldn't when i posted it, though, since 2 days had not passed since posting the question.

    – AdamAL
    2 days ago










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55046020%2fhow-to-rdp-from-mac-to-azure-vm-through-vnet-gateway%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I needed to add hosts file entries for each azure site I needed to access.



For example for accessing my-vm-name.someregion.cloudapp.azure.com, I needed to add a hosts file entry for it's private IP within the subnet. E.g. 10.2.0.100.



The reason everything worked in Windows under Parallels, is that the relevant entries had already been added to the hosts file previously.






share|improve this answer























  • In Windows it doesn't add to host file, anytime the VPN connects it adds static route to network.

    – Hannel
    Mar 10 at 3:01











  • If this is your solution, you could accept it as an answer.

    – Nancy Xiong
    2 days ago











  • @NancyXiong, yep. I couldn't when i posted it, though, since 2 days had not passed since posting the question.

    – AdamAL
    2 days ago















0














I needed to add hosts file entries for each azure site I needed to access.



For example for accessing my-vm-name.someregion.cloudapp.azure.com, I needed to add a hosts file entry for it's private IP within the subnet. E.g. 10.2.0.100.



The reason everything worked in Windows under Parallels, is that the relevant entries had already been added to the hosts file previously.






share|improve this answer























  • In Windows it doesn't add to host file, anytime the VPN connects it adds static route to network.

    – Hannel
    Mar 10 at 3:01











  • If this is your solution, you could accept it as an answer.

    – Nancy Xiong
    2 days ago











  • @NancyXiong, yep. I couldn't when i posted it, though, since 2 days had not passed since posting the question.

    – AdamAL
    2 days ago













0












0








0







I needed to add hosts file entries for each azure site I needed to access.



For example for accessing my-vm-name.someregion.cloudapp.azure.com, I needed to add a hosts file entry for it's private IP within the subnet. E.g. 10.2.0.100.



The reason everything worked in Windows under Parallels, is that the relevant entries had already been added to the hosts file previously.






share|improve this answer













I needed to add hosts file entries for each azure site I needed to access.



For example for accessing my-vm-name.someregion.cloudapp.azure.com, I needed to add a hosts file entry for it's private IP within the subnet. E.g. 10.2.0.100.



The reason everything worked in Windows under Parallels, is that the relevant entries had already been added to the hosts file previously.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 8 at 14:08









AdamALAdamAL

667512




667512












  • In Windows it doesn't add to host file, anytime the VPN connects it adds static route to network.

    – Hannel
    Mar 10 at 3:01











  • If this is your solution, you could accept it as an answer.

    – Nancy Xiong
    2 days ago











  • @NancyXiong, yep. I couldn't when i posted it, though, since 2 days had not passed since posting the question.

    – AdamAL
    2 days ago

















  • In Windows it doesn't add to host file, anytime the VPN connects it adds static route to network.

    – Hannel
    Mar 10 at 3:01











  • If this is your solution, you could accept it as an answer.

    – Nancy Xiong
    2 days ago











  • @NancyXiong, yep. I couldn't when i posted it, though, since 2 days had not passed since posting the question.

    – AdamAL
    2 days ago
















In Windows it doesn't add to host file, anytime the VPN connects it adds static route to network.

– Hannel
Mar 10 at 3:01





In Windows it doesn't add to host file, anytime the VPN connects it adds static route to network.

– Hannel
Mar 10 at 3:01













If this is your solution, you could accept it as an answer.

– Nancy Xiong
2 days ago





If this is your solution, you could accept it as an answer.

– Nancy Xiong
2 days ago













@NancyXiong, yep. I couldn't when i posted it, though, since 2 days had not passed since posting the question.

– AdamAL
2 days ago





@NancyXiong, yep. I couldn't when i posted it, though, since 2 days had not passed since posting the question.

– AdamAL
2 days ago



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55046020%2fhow-to-rdp-from-mac-to-azure-vm-through-vnet-gateway%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme