Setting up and debugging a PPTP server on Debian

If you want a personal VPN solution that you can host at home or on a VPS, PPTP is the easiest way to do it. Or if you want a VPN test subject, PPTP is also the easiest way to do it. The following will detail how to set up a PPTP server on a Debian (version 7.8) machine. To be understood that choosing PPTP as a VPN doesn’t guarantee a really secure solution , but it can save time and setup issues associated with other alternatives. For a more secure alternative over PPTP, I’d recommend OpenVPN. Continue reading “Setting up and debugging a PPTP server on Debian”

Linux permissions prettified

Even though I was using Linux for a while, I really didn’t got the idea with the file permissions clear from the beginning. Or even after a year. Changing permissions to allow certain things to happen (e.g. execute a script file) was embedded into my habits, but without really understanding what was happening. Nor did I was that interested to find out, but there is a point where you really want to know what you’re doing and not run commands just because you want “stuff working”.

Continue reading “Linux permissions prettified”

All in one PXE server

During a cool project where I was using FOG (free open-source ghost) I realized that having a PXE boot server can pose numerous advantages. I wanted a PXE boot server that included FOG and it’s capabilities along with a multitude of operating systems and utilities that can be installed / ran over the network. This can replace the need of having a X number of CDs/DVDs/USB sticks around and the best of it all, multiple PCs can be booted with the same live OS or utility at the same time. Continue reading “All in one PXE server”

What is SSH tunneling

A SSH tunnel is the SSH connection between a client and a SSH server, through which we direct our traffic. To better understand this, the diagram below illustrates it very simple. A client PC located in the US establishes a SSH connection wit SSH server located somewhere in Europe. The client PC is accessing, through an SSH tunel (green line) and directly, with no SSH tunnel (blue line). When the user has accessed through the SSH tunnel, will process the visit as it have came from the SSH server in EU, thus resulting in encountering a european IP. In the other case (blue line), the client PC is accessing as normal, processing its IP as originating from the US. Continue reading “What is SSH tunneling”

Starting out with Puppet

Puppet is an open-source automation software for IT. It can be used to control PC like you were controlling them by hand, but in an automated fashion. This is pretty useful in many scenarios, mostly for corporate environments where managing workstations and servers can be a real pain if it’s done manually, but it has its uses even in home scenarios or small businesses. Continue reading “Starting out with Puppet”