понеделник, 6 юни 2016 г.

Remote desktop connection from Ubuntu 16.04 to Windows 10 desktop via sstp client, vpn connection and Remmia





Here are the needed steps to run a RDP session from Ubuntu to Windows work PC.

Get the needed pakages:

https://launchpad.net/~eivnaes/+archive/ubuntu/network-manager-sstp/+files/network-manager-sstp_1.2.0-0ubuntu2_amd64.deb
https://launchpad.net/~eivnaes/+archive/ubuntu/network-manager-sstp/+files/network-manager-sstp-gnome_1.2.0-0ubuntu2_amd64.deb
https://launchpad.net/~eivnaes/+archive/ubuntu/network-manager-sstp/+files/libsstp-client0_1.0.10-0ubuntu6_amd64.deb
https://launchpad.net/~eivnaes/+archive/ubuntu/network-manager-sstp/+files/sstp-client_1.0.10-0ubuntu6_amd64.deb
from (https://launchpad.net/~eivnaes/+archive/ubuntu/network-manager-sstp/+packages?field.name_filter=&field.status_filter=published&field.series_filter=xenial).

Import a key from a termnal:

   sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 61FF9694161CE595

Create a repository list:

   sudo touch /etc/apt/sources.list.d/sstp-client.list

Add next lines:

   deb http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu xenial main
   deb-src http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu xenial main

Refresh the apt cache:

   sudo apt-get update

Check for installed SSTP:

   sudo apt-cache search sstp

Install needed packages:

   sudo apt-get install sstp-client network-manager-sstp network-manager-sstp-gnome -y

Create a new VPN connection by choosing newly added SSTP connection type.

Install Remmia (RDP client) to your Ubuntu and create connection to the desired host inside the office VPN.

All you need to view your workplace is to run the VPN connection and after that the Remmia RDP session.

Sources:

https://wiki.it-kb.ru/unix-linux/ubuntu/ubuntu-16-04-xenial-xerus-lts/how-to-setup-vpn-sstp-client-and-network-manager-on-ubuntu-desktop-linux-16-04-xenial-xerus-lts
http://askubuntu.com/questions/63739/how-to-set-up-an-sstp-vpn-connection
http://www.digitalcitizen.life/connecting-windows-remote-desktop-ubuntu

Няма коментари: