PaperMod

Welcome to demo of hugo’s theme PaperMod.

  • PaperMod is a simple but fast and responsive theme with useful feature-set that enhances UX.
  • Do give a 馃専 on Github !
  • PaperMod is based on theme Paper.

Saturday, 19th October 2024

Aligning IPv4 and IPv6 numbering I use following Class C for three network location: 192.168.16.0/20 - location 1 192.168.32.0/20 - location 2 192.168.48.0/20 - location 3 That gives 16 subnets per location, e.g. main network, guest network, IoT, DMZ, etc. The VLAN id is added to third octet, so if I use VLAN 1 and VLAN 5, it will give: 192.168.17.0/24 - main network in location 1, VLAN 1. 192.168.21.0/24 - guest netwoek in location 1, VLAN 5....

October 19, 2024 路 8 min 路 Bart Prokop

Sunday, 13th October 2024

Few nice command lines How to check processor you have on your Linux box There is lscpu command, but in case it is not availabe, the following will do the trick: cat /proc/cpuinfo | grep 'model name' | head -n 1 model name : Intel(R) Atom(TM) CPU E3827 @ 1.74GHz Changes in last git commit This is mega usefull to show last commit changes: git diff HEAD^ HEAD Fixing this blog on CloudFlare pages I updated the PaperMod theme and got CloudFlare build failing with:...

October 13, 2024 路 4 min 路 Bart Prokop

Saturday, 5th October 2024

Local IP addresses in public DNS and OpenWRT rebind protection, fix address resolution First of all, I have noticed that I cannot resolve private IP addresses (RFC1918) defined in my CloudFlare DNS zone. While on the network served by OpenWRT router, I got this error: $ nslookup ****.prokop.dev *** No internal type for both IPv4 and IPv6 Addresses (A+AAAA) records available for zt33.prokop.dev Server: OpenWrt.lan Address: fd**:****:****::1 And it of course works when using network in my Belfast鈥檚 home office, which is currently served by EdgeRouter 4 (to be soon replaced by custome OpenWRT built on RPi5)....

October 5, 2024 路 4 min 路 Bart Prokop

Certbot, DNS, and CloudFlare

Certbot on Arch Linux In this post, I cover how to configure Let鈥檚 Encrypt DNS challenge with DNS-01 challenge. Setup Install the following packages (certbot and CloudFlare plug-in): pacman -S certbot pacman -S certbot-dns-cloudflare Navigate to https://dash.cloudflare.com/profile/api-tokens and create API Token. Then preserve that token in local file: $ vi .secrets/certbot-cloudflare.ini # Cloudflare API token used by Certbot dns_cloudflare_api_token = <YOUR_TOKEN_HERE> To avoid seeing Unsafe permissions on credentials configuration file: /root/....

August 3, 2024 路 4 min 路 Bart Prokop

Site To Site VPN

Installation To install ZeroTier on OpenWRT, Execute the following from shell: opkg update opkg install zerotier restart You should see something similar to the below: Installing zerotier (1.12.2-2) to root... Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mips_24kc/packages/zerotier_1.12.2-2_mips_24kc.ipk Installing libstdcpp6 (12.3.0-4) to root... Downloading https://downloads.openwrt.org/releases/23.05.3/targets/ath79/generic/packages/libstdcpp6_12.3.0-4_mips_24kc.ipk Installing kmod-tun (5.15.150-1) to root... Downloading https://downloads.openwrt.org/releases/23.05.3/targets/ath79/generic/packages/kmod-tun_5.15.150-1_mips_24kc.ipk Installing ip-tiny (6.3.0-1) to root... Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mips_24kc/base/ip-tiny_6.3.0-1_mips_24kc.ipk Installing libminiupnpc (2.2.3-1) to root... Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mips_24kc/packages/libminiupnpc_2.2.3-1_mips_24kc.ipk Installing libnatpmp1 (20150609-3) to root... Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mips_24kc/packages/libnatpmp1_20150609-3_mips_24kc.ipk Installing libatomic1 (12.3.0-4) to root....

March 30, 2024 路 2 min 路 Bart Prokop