Wednesday, October 20, 2021
5g dev boards
Terraform can now deploy ZT networks
Tuesday, August 31, 2021
Mesh VPN's to explore
While I am a huge fan of the product from ZeroTier, I am also interested in exploring another similar product that I discovered called Tailscale.
Frigate Hassio AI NVR
I am interested to test out this docker container for monitoring a video feed via your personal NVR on HomeAssistant.
https://blakeblackshear.github.io/frigate/installation
Saturday, August 14, 2021
Tuesday, June 22, 2021
Ubuntu reset APT sources
Command to reset apt sources in Ubuntu:
printf 'deb http://archive.ubuntu.com/ubuntu %s main multiverse universe restricted\n' "$(lsb_release -sc)"{,-security} > /etc/apt/sources.list
Friday, June 18, 2021
Using the FortiOS API
I found this great article on terraform.io on how to setup API's in Fortigate devices. This was difficult to find documentation about so I figured I would call out the good job that they did in publishing this guide.
https://registry.terraform.io/providers/fortinetdev/fortios/latest/docs/guides/fgt_token
Monday, May 10, 2021
Nested Esxi article
Monday, May 3, 2021
Tuesday, April 20, 2021
Wednesday, April 14, 2021
Production NodeRed with DevOps
https://binnes.github.io/Node-RED-container-prod/Packaging-Node-RED-apps-in-containers/index.html
Tuesday, March 30, 2021
Linux Server Default Hardening
### Ubuntu update packages ###
sudo bash
apt-get update
apt-get upgrade -y
apt dist-upgrade -y
### Ubuntu install unattended-upgrades ###
sudo bash
apt install unattended-upgrades -y
dpkg-reconfigure --priority=low unattended-upgrades
### Ubuntu create user ###
sudo bash
adduser <myuser>
### Ubuntu sudo group ###
usermod -aG sudo <myuser>
### Create KeyPairs instead of Passwords on your workstation ###
mkdir ~/.ssh && chmod 700 ~/.ssh #####On your workstation not server####
ssh-keygen -b 4096
### Copy public key to server ###
ssh-copy-id <myuser>@myserver
### /etc/ssh/sshd_config settings to consider changing ###
Port 22
AddressFamily inet
PermitRootLogin no
PasswordAuthentication no
### Restart sshd ###
sudo systemctl restart sshd
I was working this and I found this great video by NetworkChuck's! Please visit his site and like/subscribe to his pages. I am a big fan of his.
STEP 1 - Enable Automatic Updates
Manual Updates:
apt update apt dist-upgrade
Automatic Updates:
apt install unattended-upgrades dpkg-reconfigure --priority=low unattended-upgrades
STEP 2 - Create a Limited User Account
Create a User:
adduser {username}
Add user to the sudo group:
usermod -aG sudo {username}
STEP 3 - Passwords are for SUCKERS!
Create the Public Key Directory on your Linux Server
mkdir ~/.ssh && chmod 700 ~/.ssh
Create Public/Private keys on your computer
ssh-keygen -b 4096
Upload your Public key to the your Linux Server (Windows)
scp $env:USERPROFILE/.ssh/id_rsa.pub {username}@{server ip}:~/.ssh/authorized_keys
Upload your Public key to the your Linux Server (MAC)
scp ~/.ssh/id_rsa.pub {username}@{server ip}:~/.ssh/authorized_keys
Upload your Public key to the your Linux Server (LINUX)
ssh-copy-id {username}@{server ip}
STEP 4 - Lockdown Logins
Edit the SSH config file
sudo nano /etc/ssh/sshd_config
STEP 5 - FIREWALL IT UP
See open ports
sudo ss -tupln
Install UFW
apt install ufw
See UFW status
sudo ufw status
Allow port through firewall
sudo ufw allow {port number}
Enable Firewall
sudo ufw enable
Reload Firewall
sudo ufw reload
Drop pings
Edit the UFW config file
sudo nano /etc/ufw/before.rules
Add this line of config:
-A ufw-before-input -p icmp --icmp-type echo-request -j DROP
Wednesday, February 10, 2021
ZeroTier as a management network
Knolling - The Art of Organizing
I found this article very interesting and soothing to look at how some find organizing relaxing. I don't find the process relaxing myself, but the end product is very artistic to me. Take a look at this article. Thanks Jason for introducing me to this:
http://thebrickblogger.com/2020/04/knolling-with-lego-the-art-of-organizing/