Cyber attackers are always looking for different ways to gain access to your systems. For instance, some are exploiting open ports and unpatched systems. This often requires a level of sophistication to bypass some of the most protective firewalls available today.
The good news is that it’s a lot easier than in the past to set up a simple firewall with no knowledge of hacking and cyber security, since attackers use malicious tools as malware to destroy your systems. This tutorial will walk you through the basics of setting up a simple firewall.
Step 1: Install Ubuntu
For this tutorial we will be using a 64 bit Ubuntu. Installing Ubuntu 16.04 on a 64 bit PC will result in a 64 bit operating system. However, installing a 64 bit operating system on a 32 bit system does not have any significant advantages over a 32 bit operating system. Installing the 64 bit version of Ubuntu on a 64 bit PC will only get you a 64 bit operating system.
Step 2: Install Firewall
Now that we have our Ubuntu installed, it is time to install its firewall. I will be using the most popular open source firewall, the one bundled in the openSUSE project. If you need help installing an alternative firewall, I suggest you start with this guide. Once you have installed the firewall, go ahead and install the following applications: apt-get install netfilter-utils libnat-net-vpnc-perl net-pf-3-perl net-pptp-perl net-p2p-tools net-snmp-perl The next steps are optional, but you may want to add a few more packages, such as:
apt-get install dnsmasq-base
apt-get install sshfs
apt-get install udisks2
apt-get install libdns
apt-get install wpasupplicant
apt-get install nginx
apt-get install git
Then, we need to add our new system to our package list. Open a terminal, and navigate to the /etc/apt/sources.list file that you created in the last section. Paste the following line in this file, and save the file. # Debian 6.0 deb http://archive.debian.org/debian stretch main deb-src http://archive.debian.org/debian stretch main You should see a line that looks something like this: # Debian 6.0 deb http://archive.debian.org/debian stretch main deb-src http://archive.debian.org/debian stretch main # Debian 6.0.1 deb http://archive.debian.org/debian stretch-updates main deb-src http://archive.debian.org/debian stretch-updates main Then run the following command to install a new deb from the backports server. apt-get update # apt-get install deb http://archive.debian.org/debian stretch-backports main deb-src http://archive.debian.org/debian stretch-backports main You can also add additional backports repositories from the command line. In this case the –repository option is mandatory. # apt-get update # apt-get install –repository=http://backports.debian.org/debian stretch-backports # apt-get install –repository=http://backports.debian.org/debian stretch main # apt-get install –repository=http://backports.debian.org/debian
1 Response to Cyber Security in Ubuntu