Secure RDP connection through Vyatta using PuTTY Rumi, December 6, 2015 Connecting to SSH Server as gateway instead of directly RDP to a PC is safer way and add another layer ofencryption.With this method,we can connect to any client that is behind the firewall provided that we have open the port 22 (or any other SSH port) to the SSH Server. In First step, we’ll configure the vyatta, so that it will forward the ssh request to the internal Linux server that it will receive on it’s port 222. (From the Configuration Mode, issue these commands) set nat destination rule 110 description "SSH to internal Host" set nat destination rule 110 inbound-interface eth0 set nat destination rule 110 protocol tcp set nat destination rule 110 translation address 192.168.80.102 set nat destination rule 110 translation port 22 set nat destination rule 110 destination port 222 set nat destination rule 110 destination address X.X.X.X commit Next, configure the vyatta Firewall, so that it will allow the inbound SSH and RDP connections. set firewall name IN_WAN edit firewall name IN_WAN set default-action drop set rule 100 action accept set rule 100 description "SSH to Internal Linux" set rule 100 destination port 3389,22 set rule 100 protocol tcp set rule 100 state established enable set rule 100 state related enable commit Apply the firewall on inside direction on outbound interface. set interfaces ethernet eth0 firewall in name IN_WAN commit Here is visual, how to Remote Desktop over SSH using PuTTY from Windows Machine. Run PuTTY,enter the Public IP address or hostname of the Vyatta: On the left-hand panel, Go to Connection -> SSH and check “Enable compression“: Next, Go to Connection -> SSH -> Tunnels: Set “Source Port” to any random Source port provided that it is not being used already. Set “Destination” to Private IP Address of Remote Desktop Client and add “:3389″ at the end, which is the default Remote Desktop port. Click on “Add“. Save the Session Settings. Click Open button in order to connect to the Server via SSH. Login to the Linux Server with username and password Start Remote Desktop Client on windows and enter the 127.0.0.1:24001 (The random port that you have selected above) Enter the username and password. Success! Src: https://rbgeek.wordpress.com/2013/06/24/secure-rdp-connection-through-vyatta-using-putty/ Related Administrations Configurations (Linux) PuttyRDP
How To Control Access To Unwanted Websites Using URL Blacklist With SafeSquid Proxy Server January 14, 2012January 14, 2012 SafeSquid – Content Filtering Internet Proxy, has many content filtering features that can be used to decide who is allowed what, when and how much on the net. In this tutorial I will describe how to control access to unwanted categories of websites, by using URL Blacklist database with SafeSquid… Read More
Linux Remove All Partitions or Data And Create Empty Disk December 13, 2016 Use the following dd command to remove data from /dev/hdX: dd if=/dev/zero of=/dev/hdX bs=512 count=1 OR for sata disk, use the following syntax: dd if=/dev/zero of=/dev/sdX bs=512 count=1 In this example, empty sata disk /dev/sdb, enter (you must be login as the root user): fdisk /dev/sdb dd if=/dev/zero of=/dev/sdb bs=512… Read More
How to clear the yum cache October 20, 2013 When a package is downloaded, installed and is removed there is a chance that the package may still be saved/stored in the yum’s cache. So to clean all the cached packages from the enabled repository cache directory, login as root and execute the following: yum clean packages To purge the… Read More