понеделник, 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

петък, 19 февруари 2016 г.

Double tethering - Share phone's Internet to Windows desktop through Ubuntu notebook

There was a case when I needed an Internet on my desktop, but only available was on my Meizu phone. After several touching (on the phone), searching in Yandex and clicking on mynote and desktop, the desktop machine was connected to WWW.
I followed 2 advices: http://askubuntu.com/questions/359856/share-wireless-internet-connection-through-ethernet and http://askubuntu.com/questions/169473/sharing-connection-to-other-pcs-via-wired-ethernet
There was no need to set manual IP-s, so the connection was established by default.