Toggen Blog
Tech tips
Articles
Latest
Opnsense – Expand Disk – Grow partition FreeBSD
Azure VM Size Standard B1ms (1 vcpu, 2 GiB memory) Recommended VM size https://docs.opnsense.org/manual/hardware.html https://docs-archive.freebsd.org/doc/11.4-RELEASE/usr/local/share/doc/freebsd/handbook/disks-growing.html Boot to single user mode by pressing the 2...
Add your SSH Public Key to a Cisco 2960 Switch
Windows WSL linux cd /mnt/c/Users/username/.ssh fold -b -w 72 ~/.ssh/id_rsa.pub # sample output ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIv/op3vgavpEV2gz7hvBBlwFC+FvRgIW1 PIIGYUTZOypj3vqp9XiSPkcU7OW+yZdo6iHoOkb/iM1P/w3FKXSOlmxdTF5KFqIev5ZsKC9z...
Oh wow the future is here
Just looking at my server logs and sky net is connecting to some of my posts "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; ChatGPT-User/1.0; +https://openai.com/bot"
Using nginx to detect the Real Client IP and return a Status 403 Forbidden when your Site is Proxied by Cloudflare
When using Cloudflare proxying. By default the nginx logs show the remote_addr (162.158.3.22) as one of the multitudinous Cloudflare proxy server IP addresses: Following is how you can configure your nginx conf files to return 403 (Forbidden) to specified IP's and...
WSL2 no external network access after return from standby
I have to do the following to get my WSL external network access back every time I return from standby wsl --shutdown wsl # check external access ping 1.1.1.1 PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. 64 bytes from 1.1.1.1: icmp_seq=1 ttl=57 time=9.47 ms 64 bytes...
SSH show key finger print
Just in case you need to check the key fingerprint of an SSH Key ssh-keygen -l -f id_ed25519 # enter passphrase if prompted # output 256 SHA256:oSvuAOotnIB08e0RTxY93n+mrGdQoYb8auT6xD7f5Jw domain\user@TGN-PC (ED25519)
