Category Archives: Tutorials

UniFi Tutorials

How to configure Windows Server and UDM-PRO UniFi Controller for RADIUS VPN access

In this tutorial you will be shown how to configure Windows Server and UDM-PRO UniFi Controller for RADIUS VPN access. Why is this useful? Well this allows us to just disable a user account in Active Directory after a termination and the previous employee will no longer have VPN access to the network. This will prevent Tech Support having to manually remove VPN users every time an employee is terminated.

Prerequisites for this tutorial.

  1. Internal Unifi Controller and Firewall, I myself am using a UDM-PRO for that function.
  2. Your Unifi equipment should be assigned static IP addresses outside your DHCP Scope. Once done write down the IP addresses alongside their model or unique name.
  3. Stand up a new physical or virtual server with Windows Server 2019.
    • I called my new virtual server HDN-RADIUS. 1vcpu 4GBram 60GB HDD
    • Install all updates on new Radius server
    • Assign static IP address.
    • Join new
Read the rest
UniFi Tutorials

How to configure Windows Server and Unifi Controller for RADIUS Wifi access

In this tutorial you will be shown how to configure Unifi Controller and Windows Server for RADIUS Wifi access. Why is this useful? Well this allows us to just disable a user account in Active Directory after a termination and the previous employee will no longer have Wifi access. This will prevent Tech Support having to change the Wifi password every time an employee is terminated.

 

 

Prerequisites for this tutorial.

  1. Internal Unifi Controller, I myself am using a UDM-PRO for that function.
    • You can use a Cloud Hosted Unifi Controller but you will need to open radius ports on your firewalls wan. Your network firewall should be configured to only allow incoming traffic from your Unifi Hosted Controllers IP address to access the Radius ports.
  2. Your Unifi equipment should be assigned static IP addresses outside your DHCP Scope. Once done write down the IP addresses alongside their model or unique
Read the rest
UniFi Tutorials

How To Downgrade Or Update Unifi UAP Firmware

If you are having problems your Unifi wireless access points it could be do to a bug in the firmware. In this tutorial you will be shown how to downgrade or update the Unifi UAP firmware. 

How to Downgrade or update firmware.

  1. Log into your Unifi Controller.
  2. Make sure that Auto Update is disabled
    • Settings > Site > Services , uncheck Automatically Upgrade Device Firmware.
    • Also check scheduled upgrades. Settings > Services > Scheduled Upgrades and remove them.

  3. On the left hand side menu Click on Unifi Device Icon
    Unifi Device
  4. Click on the the wireless access point you would like to start with so the side menu expands to display a GUI like below.
  5. Click on the gear\config icon 

  6. Scroll down to the bottom and expand MANAGE DEVICE
  7. In the Custom upgrade section use the copy/paste the firmware version you would like to use, for example: https://dl.ui.com/unifi/firmware/U7PG2/4.3.20.11298/BZ.qca956x.v4.3.20.11298.200704.1347.bin

    Note: if you

Read the rest
Windows Tutorials

How to Change Your Computers IP Address From the Command Prompt

In this tutorial you will be shown how to change your computers IP address from the command prompt. If you are using third party remote software that has remote CMD access changing the IP Address without interrupting a client while they are working on their computer does come handy.

 

 

Lets start by finding out what our network adapter name is.

Before we can change the IP address we need to find the full name of the network for the interface. To do this, type the following command:

netsh interface ipv4 show config

In my case I will be changing the static IP address for network interface named “Ethernet”.

 

Change Your IP Address, Subnet Mask, and Default Gateway

In this step we will be changing our IP address subnet mask and default gateway. To do this, you’ll issue a command using the following syntax:

netsh interface ipv4 set address name="Ethernet" static 
Read the rest
Windows Tutorials

How To Fix Remote Desktop CredSSP Encryption Oracle Error

In a few steps I will show you how to fix the remote desktop CredSSP encryption oracle error. CredSSP is an authentication provider which processes authentication requests for other applications; any application which depends on CredSSP for authentication may be vulnerable to an attack. An update released by Microsoft (KB 4093492)on May 8, 2018, for Windows 10 Operation System was targeted to change the default settings CredSSP from Vulnerable to Mitigated.

However, after patching this caused an issue where the patched clients were blocked from communicating with unpatched servers over RDP protocols.

 

Lets Get Started

We will be using group policy settings to make changes described below to rollback the changes to ‘Vulnerable’ state to allow RDP access.

  1. Open Group Policy Editor, by executing gpedit.msc
  2. Policy path: Computer Configuration -> Administrative Templates -> System -> Credentials Delegation
  3. Run gpedit.msc and expand Administrative Templates


  4. Expand System
  5. Expand 
Read the rest
UniFi Tutorials

How to direct Unifi VLAN traffic to OpenDNS

In this tutorial you will be shown how to direct UniFi VLAN traffic to OpenDNS. Many companies love using OpenDNS due to it ease of use but sometimes it can be tricky to deploy on UniFi since the GUI keeps changing. This tutorial guides you through Unifi Controller Version 6.1.71.

OpenDNS is a Internet security company based in San Francisco that provides easy-to-implement Internet navigation and Web security solutions for families, schools, governmental organizations and businesses of all sizes. The services provided by OpenDNS increase the speed of navigating websites and prevent unintended access to phishing and malware sites as well as to any Web content that you configure to be restricted. 

Lets Get Started

In this tutorial I will be using a UniFi UDM Pro on Controller Version 6.1.71. Please update your controller as needed as some times may vary if your not up to date. I will be … Read the rest

Install Windows 11 Within VirtualBox

In this tutorial you will be shown how to install Windows 11 within VirtualBox. VirtualBox is great VM software to test releases of different types of OS’s.

 

Lets get started

  1. Lets download Virtual Box 
  2. Once downloaded go through the wizard and leave default settings.
  3. If you need Windows 11 you can follow this Windows 11 Download tutorial.
  4. Open Virtual Box.
  5. Click on the New icon.
  6. Name your Virtual Machine
  7. Find and select version and select Windows 10. Click Next
  8. Memory Size 2GB will be fine. Click Next
  9. Hard Disk, Select Create a Virtual hard disk now. Click Next
  10. Hard Disk File type can be left with VDI selected. Click Next
  11. Storage on physical hard disk, select Dynamically allocated. Click Next
  12. File location and size can be left as default. Click Create
  13. Start the virtual machine
  14. VM should boot into the ISO, go through the process of installing windows.

If you

Read the rest
Docker Tutorials

How To Execute Docker without using sudo privilege on Ubuntu 20.04

In this tutorial you will be shown how to configure Ubuntu 20.04 to execute Docker without using sudo. By default, you have to run docker commands with sudo privilege or by a user in the docker group. This tutorial will show you how to bypass that.

To test your privileges to confirm you cannot run Docker without sudo type in docker run hello-word. You should get the following message and if should move forward with the tutorial.

$ docker run hello-world 
Got permission denied while trying to connect to the Docker 
daemon socket at unix:///var/run/docker.
sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.27/containers/json: 
dial unix /var/run/docker.sock: connect: permission denied

 

Lets Get Started

  1. SSH into your Ubuntu 20.04 server.
  2. Create new group. This command will likely fail as group maybe already exist, but let’s run it anyways.
sudo groupadd docker

3. Now we will add the current logged in user to the docker group

sudo 
Read the rest
Docker Tutorials

Docker Command Guide: A Complete List of Essential Commands

DockerIn this tutorial you will be shown how to use Docker commands and if you need help Executing docker without using sudo privilege click here.

In this section below I will explain how to use docker commands. So, before going into these details, let’s take look at the syntax of ‘docker’ commands:

$ docker [options] [sub-commands] [arguments]

Now if you want to list all available sub-commands of docker, run:

$ docker

There are many sub-commands and arguments that can follow after $docker. Below are some of them in the following sections of this tutorial.


Management Commands:

  attach      ## Attach local standard input, output, and error streams to a running container
  build       ## Build an image from a Dockerfile
  commit      ## Create a new image from a container's changes
  cp          ## Copy files/folders between a container and the local filesystem
  create      ## Create a new container
  diff        ## Inspect changes 
Read the rest
Docker Tutorials

How to Install Docker on Ubuntu 20.04

In this tutorial you will be shown how to install Docker onto Ubuntu 20.04. Docker is an open source platform that simplifies the process of building, running, managing and distributing applications. It does this by virtualizing the operating system of the computer on which it is installed and running.

 

 

Lets Get Started!

Prerequisites

  • Create a Ubuntu 20.04 VPS server on Linode. The $5 plan will be fine for this tutorial. If your planning on deploying many containers consider using a larger plan.

Docker

Lets SSH into Ubuntu 20.04 and perform some updates.

  1. To SSH into the server we will be using Putty. Download and install Putty.
  2. Open up putty and type in the IPv4 address of your server and click open.
  3. Log into your Ubuntu 20.04 server with the username and password.
  4.  started with making sure we have the latest updates installed.
sudo apt update
sudo apt upgrade

5. … Read the rest