truenas virtualization network issue byu/Kv0837 intruenas From the above Reddit thread What you need is a bridge for your main interface and then set the bridge as a NIC in your VM. I'll paste here a quick step by step that I wrote for some time ago but should still...
James McDonald
Find files between two time stamps
mints="2026-07-24 01:52:00" maxts="2026-07-24 01:55:00" find . -newermt "$mints" ! -newermt "$maxts"
Block or allow access to WordPress security sensitive locations using nested locations with nginx or angie
How do you selectively block access to all static files under a folder (e.g. /wp-admin/) but make sure that the .php files are executed properly when access is allowed, and without creating a heap of location blocks and tearing your hair out due to nginx selecting the...
Nginx / Angie Dummy Default Site
Stop your nginx instance from replying with the first valid SSL cert and nothing from port 80 when people hit the server without a valid hostname # /etc/angie/http.d/default.conf server { listen 80 default_server; listen [::]:80 default_server; listen 443 ssl...
Angie – GeoIP – Forbid wp-login.php and /wp-admin/ and allow whitelisting and blacklisting IP’s
GeoIP lookup apt install mmdb-bin geoipupdate angie-module-geoip2 mmdblookup --ip 2603:1010:200::32c --file /var/lib/GeoIP/GeoLite2-Country.mmdb country iso_code "AU" <utf8_string> mmdblookup --ip 52.147.37.48 --file /var/lib/GeoIP/GeoLite2-Country.mmdb country...
WakeMeOnLAN – Watching for WOL packets with tcpdump
If you want to see WOL traffic on the LAN try this tcpdump snippet WakeMeOnLAN.exe uses port 40,000 by default so you'll miss it if you just use 9 # on a Unifi UDM sudo tcpdump -i br99 udp port 9 or udp port 40000 Where -i br99 is the interface on a Linux based host #...
TrueNAS Wake on LAN
Set Wake-On-LAN in my BIOS and TrueNAS was stubbornly refusing to Wake when I sent a magic packet to it's MAC address. After booting this is the output of ethtool showing Wake-On-LAN is disabled (Wake-on: d) The following two scripts are installed to run as the system...
Identifying physical disks in TrueNAS
Manufacturer: Gigabyte Technology Co., Ltd. Product Name: A520I AC In the end I guess to properly map physical drives to physical motherboard connectors would be to shutdown, remove a cable, boot up and see what is missing. After all the below I still can't solidly...
PC Upgrade – Testing Installed RAM with memtest86
PC Build Originally I build the above small ITX PC in a Silverstone case and recently I lost my dear old 4 Drive Synology DS415+ so I've moved the 4 x 8TB HDD's into a new case and transferred the innards into the following new bits. RAM, Case and SSD. QTY. PART #[ID]...
Tailing the CBS.log while waiting for DISM to complete
If DISM /Online /Cleanup-Image /RestoreHealth appears stuck running the following can help with the feelings of impatience. This will show the new actions as they are logged by DISM and re-assure you it's still going even if it's stuck at 62.3% for a while, especially...
