Ubuntu – Use Remmina to RDP into home Remote Desktop Gateway Server

rdpremminaremoteserverwindows

I have Windows Server 2012 R2 running at home which is hosting "Anywhere Access" and acting as a Remote Desktop Gateway Server. I have tried using Remmina to RDP into this gateway but I can't seem to find a successful combination of parameters to get in. I'll try to explain the scenario below…

Gateway Server: mydomain.remotewebaccess.com
Client: MyClient1
Domain: mydomain.local
User: User
Password: Password

So, by default, Anywhere Access allows me to remote into any Win7/8 PC on my home network through it's web interface. I click a PC, it initiates an RDP connection with the selected PC. Port 3389 doesn't have to be opened on my router, but 80, 443, 500, 1701, and 1723 must be open for Anywhere Access to work.

Within Remmina, I tried the following:

Server: mydomain.remotewebaccess.com
User Name: mydomain\User
Password: Password
Domain: mydomain.local
Security: (tried NLA, TLS, RDP, Negotiate with no luck)
Client name: MyClient1

This combination of settings isn't working and I'm not too sure what it takes to make Remmina play nicely with an RDP Gateway that doesn't use port 3389. Any suggestions?

Best Answer

I run the following script to log in to a remote server through RD-gateway, current freerdp git-master works rather well.

#!/bin/bash
# Get the password once since the same password are used for RD-gateway and remote server
PW=$(zenity --password)

# RDP to remote server remote1.server.com through RD-gateway rdg.server.com
xfreerdp /g:rdg.server.com /gu:mysuername /gd:MYDOMAIN /gp:$PW /v:remote1.server.com +compression /u:myusername /p:$PW /d:MYDOMAIN +clipboard /size:1548x846 /network:broadband /bpp:32 /cert-ignore

Information on compiling FreeRDP can be found here: https://github.com/FreeRDP/FreeRDP/wiki/Compilation

Related Question