telnet and ftp have been removed from Mac. While people shouldn’t be using insecure versions ofthese protocols, I use telnet often to diagnose connections issues. The solution to this is to installinetutils. You can install inetutils using Homebrew or MacPorts, but I prefer compiling from source. It is morestraight-forward and does not require installing additional…
Set up unattended-upgrades on Ubuntu 20.04
Package upgrades can be set up to install updates on Ubuntu without user intervention. Install unattended-upgrades Install mailx & Postfix If this does not install Postfix, install it now. This will install also install Postfix. mailx is what unattended upgrades uses to send external mail. Configure unattended-upgrades. Edit /etc/apt/apt.conf.d/50unattended-upgrades. This file is mostly self explanatory….
Install GNS3 on UNRAID on your local
network
GNS3 allows network engineers to model networks. Unlike network simulators, GNS3 uses real deviceimages. The devices run on a hypervisor. Unraid is an easy to use NAS operating system based onSlackware that supports docker images and virtual machines. Create a VM in Unraid We will be using Ubuntu 20.04 as the base of GNS3. Install…
Quick reverse proxy config for nginx
nginx is my preferred lightweight HTTP/HTTPS server and fairly easy to do reverse proxy for. In thisexample, I use a reverse proxy to expose an internal service running on port 82 to the Internet.Here is an example config … example.vernon.wenberg.net is a sub-domain that exists on the public Internet whileinternal-service.vernon.wenberg is an internal system. This…
Install Apache, FreeRadius, daloRADIUS, and MariaDB on Ubuntu 20.04
This quick guide assumes you are root or using sudo on a fresh install of Ubuntu Server 20.04. Install apache2, MariaDB, and PHP Install Apache Install PHP Install MariaDB Install FreeRADIUS w/ MariaDB Install FreeRADIUS Use MariaDB with FreeRADIUS Login to MariaDB with the password you just created. Remember to replace password withyour own password….
Mount Windows Share On Boot in Ubuntu 20.04
These steps assume you are root or using sudo. Install cifs-utils. Create /root/.smbcredentials with the following contents … Change username and password to your username and password. Edit /etc/fstab and add the following line to the end. 192.168.1.111 should be changed to your host and software should be changed to your share./mnt/clyde is the location…
Useful Commands for Windows Subsystem for Linux
wsl -l -v – check current WSL version in use wsl -–set-default-version 1 – set default WSL version. Currently 1 or 2. wsl -–set-version Ubuntu-20.04 2 – convert WSL version to version 2 where Ubuntu-20.04 is the name of the distribution.
Disable IPV6 in Ubuntu 18.04
IPV6 sometimes break DNS resolution in Ubuntu 18.04. Follow the steps below to disable and verifythat IPV6 is disabled in Ubuntu.Edit /etc/sysctl.conf and add the following lines to the end of the file … Save the file and issue the following command to force Ubuntu to reload the file. To verify that the new configuration…
Allow rrdcached, memcache, and MariaDB/MySQL through the firewall in CentOS 8
Open ports 42217 (rrdcached) and 11211 (memcached) in the firewall and reload the firewall. Verify that the ports are open using firewall-cmd –-list-all.
Wireguard Installation
Use Angristan’s automated WireGuard installation. The install will create a client .conf file in the directory you ran the script. Import the .conf file into your client. Client install files can be downloaded from the Wireguard site. To enable access to your local network while connected through the VPN, add the following two lines to…