How To Setup Local Tunnel Through Windows Remote Desktop - windows

My local machine is using MacOSX/linux and am able to connect to a Windows Remote Desktop machine (using Windows Remote Desktop/Remote Desktop Connection).
The Windows Remote Desktop machine is able to connect to certain servers that I cannot connect to locally on my MAC. For example, connection to database servers, specific web servers, etc.
How can I setup some kind of tunnel so that I can access the servers locally on my mac?

You can configure port forwarding on the Windows machine
netsh interface portproxy add v4tov4 listenport=3390 listenaddress=192.168.1.111 connectport=3389 connectaddress=192.168.0.33
where 192.168.1.111 is IP of your Windows machine and 192.168.0.33 is destination server. From your Mac you will connect to Windows machine specifying port in RDP connection 192.168.1.111:3390 and you will be connected to the remote server. You have to provide credentials from the server, not your local Win machine. This configuration survive restarting Windows machine.

Just install Igiko on your windows machine and then open it in web browser on your MacOSX. Igiko is acting like web-based RDP gateway, using it you will be able to open RDP console to any Windows machine in your network.

Related

Steps required to SSH into Azure Windows VM from a Linux VM

Having created a Windows Azure VM and opened ports 3389 and 22 for inbound RDP and SSH connections, respectively.
I can successfully connect to the vm via RDP from a remote Windows PC.
Testing SSH connection in the Portal succeeds. However trying to connect from a remote Linux VM using SSH fails.
Given that SSH connection test within the portal succeeds, it suggests that (1) it is possible to SSH into a windows VM; and (2) there is no other config require on the server ie installing OpenSSH (or similar) / Copying over key file(s) to some location etc. However, the help steps in the Azure Portal for my Windows VM, for making remote SSH connections suggest that maybe a public key needs to exist on the server and that I need the private key on the LinuxVM I am trying to connect from.
Please could someone help me understand if ssh into windows Azure VM is possible and if so, the requirements / minimum set of steps (on the target Windows VM and the source Linux VM) I need to get to a state that I can successfully SSH.
Other posts re similar question posted have not helped me connect via ssh. I have not found a 'golden source of truth' on Microsoft docs. Maybe I missed it.
Thank you.
A Windows Server doesn’t typically come pre-built and ready to go with SSH access and it requires some setup. You can follow this to set up your Azure VM for SSH access. You can configure SSH on a Windows Azure VM for access, check out How to Set Up OpenSSH on a Windows Server. After deploying the OpenSSH, you can follow the steps about connect via SSH with client in the Azure portal on your Linux client to access that Windows VM via SSH.

How to rdp from mac to azure vm through vnet gateway

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.
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.

Remote Desktop in AWS

I just launched a new windows server 2016 virtual machine from EC2 Management Console.
I tried to connect RDP from my desktop (MAC OS) it is not connecting, and even the machine is not pingable from public IP and public domain name.
please the machine is up and running and the from the security group i enable the inbound rules for port 3389
You would need the Microsoft Remote Desktop, the default RDP app will not work and for the ping, you need to enable ICMP protocol in the Security group and then open the windows firewall. Here is a detailed answer

Hyper V Networking - connect to local webserver VM

I'm running windows 8 pro and have a VM running windows server 2008 for development purposes.
When I set up my VM to have external network access it is given a local network IP and I can connect to it from the host machine and all is well.
However when I am commuting I have no external network access and am unable to connect to the VM using my web browser.
Is it possible to set up some form of internal VM network which allows me to connect to the VM's without an external network connection?

Setup VPN to accept incoming connection on VMplayer

I have VMware player 5.0.2 installed in Win8 64bit host and running Win7 as Guest.
I'm trying to set up Win7 guest to receive VPN connection (PPTP), but it is not working, the VPN connection request keeps being disconnected.
Is it possible to create VPN on a bridged network? I am aiming to get the Guest Win7 to accept incoming VPN connections and allow the Win7 Guest to access the outside through VPN. Any clue or suggestions?
Yes we can setup VPN connection on a bridged network. It is possible to dial from my XP machine to a VPN server set up on a windows server 2008 which was running on VMWare.

Resources