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
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
|
show 3 more comments
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
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
|
show 3 more comments
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
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
macos azure vpn rdp
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
|
show 3 more comments
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
|
show 3 more comments
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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