Resizing a UBUNTU LVM Disk

This procedure works for any Ubuntu filesystem that has been formatted with LVM on a VMware Virtual Machine

  • fdisk -l (note it’s partition)
  • parted
    • resizepart, Fix, 3, 100%, quit
  • pvresize /dev/sda3
  • lvextend -l +100%FREE /dev/mapper/ubuntu–vg-ubuntu–lv
  • resize2fs /dev/mapper/ubuntu–vg-ubuntu–lv
  • df -h

Installing Sophos XG Firewall – Home Edition

Running a firewall in your home network certainly shouldn’t be overlooked, for standard home networks, your ISP router is probably sufficient. However, I run a bit more than just my phone or tablet at home.

I’ve been using Sophos products for about 20 years, I’ve seen the company grow and products develop over the years, I do still believe in the Sophos product range and most definitely on their XG Firewall range.

Now, let us get to the fun part.

The first thing you want to do is register for the Sophos Home Edition of the XG Firewall, the latest version at the moment is 18.0.5 MR5. Head on over to the Sophos Website, complete the simple form and it will take you straight to being able to download the ISO.

The Sophos XG Free Home Use firewall contains its own operating system and will overwrite all data on the computer during the installation process. Therefore, a separate, dedicated computer is needed, which will change into a fully functional security appliance. Just right for the spare PC you have sitting in the corner!
The Sophos XG Free Home Use firewall contains its own operating system and will overwrite all data on the computer during the installation process. Therefore, a separate, dedicated computer is needed, which will change into a fully functional security appliance. Just right for the spare PC you have sitting in the corner!

Now you have the software, so what’s next? Let’s take a quick look at the requirements and features.

Requirements

  • Intel-compatible computer with dual network interfaces. (Any previous OS or files on the computer will be overwritten when installing the XG Firewall Home Edition)
  • Home Edition is limited to 4 cores and 6 GB of RAM. The computer can have more than this, but XG Firewall Home Edition will not be able to utilize it.

Features

  • Increase your Internet Bandwidth – You can make easy use of traffic shaping to prioritize application traffic over your internet connection and even subscribe to multiple ISP connections to get more bandwidth or resiliency in the event of an outage with one of them.
  • Monitor and control family web surfing – Use Web Filtering to stop sites from infecting you with viruses and spyware, keep your children from surfing to bad sites, and get full reporting on the activity in your home. Also, set up access schedules or usage quotas for family members who may be wasting too much time online.
  • Access your home network from anywhere – Use VPN to access your network remotely from anywhere in the world.
  • Stop Viruses – Dual AV scanning engines stop viruses in file downloads, email attachments, and embedded in websites. Sophos catches them at the gateway before they can get in to assault your computers.
  • And many more…

Depending on what you will be using to install the software on, you need to burn this image to a USB stick or simply upload it to a datastore in VMware.

If you decide to install it on a physical machine, you need to ensure it meets the requirements, make sure it’s 4 cores, has 6GB memory, and at least 2 network ports (LAN and WAN).
You will need to use a tool such as Rufus when writing to a USB, ensure to write it as a DD image instead of ISO.

The installation process is the same either physical or virtual.

Will update this post soon with more detail.

Technitium DNS Server is an open source tool, selfhosted local DNS server for privacy and security.

Setup your own DNS server with Technitium DNS Server

Technitium DNS Server is a free, open-source, cross-platform, authoritative, and recursive DNS server that is aimed at self-hosting a local DNS Server for privacy and security, software development, and testing on small to medium-size networks. It works out-of-the-box with no or minimal configuration and provides a user-friendly web console accessible using any web browser.

Technitium DNS Server web console provides a dashboard that displays useful stats, these can be used to understand the DNS server operations. The dashboard contains the main chart which displays query and response-related data and a couple of pie charts. It also lists top clients, top domains, and top blocked domains in a tabular format.

How to install?

For the installation I chose Ubuntu Linux the process is fairly simple, however the software was built to be cross platform using .NET. You can run it on Windows, Linux or MacOS.

The Automated installer script was used to install the DNS Server.

curl -sSL https://download.technitium.com/dns/install.sh | sudo bash

Once installed, you may go ahead and allow the following ports:

  • 53/udp
  • 53/tcp

Port 5380/tcp is used for the web console, you really don’t want that open to the web.
Port 67/udp is used for DHCP, again you only want that on your local network.

Login to your dashboard

That’s it, it’s installed. Now configure your network with the IP address of the server for DNS resolution.

I use this server for my home lab, servers, docker containers, basically I use a domain internally and use this server for name resolution for my devices.

Installing DNS Server Manually

Install the .NET 5 runtime from here.

Once you have installed .NET 5, SSH into the server and follow the steps below:

  1. Download DNS Server portable app using wget and extract it.
wget https://download.technitium.com/dns/DnsServerPortable.tar.gz sudo mkdir -p /etc/dns/ sudo tar -zxf DnsServerPortable.tar.gz -C /etc/dns/
  1. You can now run the DNS Server directly from the console as a standalone app.
    cd /etc/dns/ sudo ./start.sh
  2. Open the url http://<server-ip-address>:5380/ to access the web console.

Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Youtube
Consent to display content from Youtube
Vimeo
Consent to display content from Vimeo
Google Maps
Consent to display content from Google