Wireguard Connection Monitoring Script For Dynamic IP

To ensure healthy bi-directional connection, Wireguard comes with “persistent keep alive” function for peers to ping the server regularly such that the server can reach the peer sitting behind a firewall. However, problems arise when the server has a dynamic IP, and when the server IP changes the peer does not know to update the old IP by resolving the server domain name again. There needs a way for the peer to monitor the connection and update the resolved server IP as needed (not a built-in function currently in the official Wireguard release). The following Wireguard Connection Monitoring Script can be run as a scheduled cron job in Linux/Ubuntu environment to achieve the desired effect.

The script works by pinging the server’s internal address to determine if the connection is still valid. If the ping fails 3 times, the connection is considered failed and Wiregaurd interface will be restarted.

TLDR: This script automatically forces the peer client to restart so servers with dynamic IP can be updated as appropriate.

PS. For windows client, you can run scheduled batch script to do the same thing.

Continue Reading

Minecraft Mob Egg Drop Plugin for Spigot and Paper

This Minecraft Plugin enables mobs to drop spawn egg based on individually customizable drop rates.

This Minecraft Mob Egg Drop Plugin adds the ability for mobs to drop spawn eggs on death. The drop rate is customizable for each type of mobs. The plugin supports any servers with Bukkit API such as Spigot or Paper.

Supported Servers: Spigot, Paper, etc.
Tested Minecraft Version: 1.19.3

Continue Reading

AuthMe WordPress Integration Plugin

AuthMe Reloaded WordPress Integration Plugin allows player to register directly on WordPress pages.

AuthMe Reloaded is a popular Minecraft server plugin that provides authentication for offline servers. However, one shortcoming is that there are very few tools for website integration. AuthMe Reloaded WordPress Integration plugin allows players to directly register an account on any WordPress pages by utilizing a simple shortcode to embed a registration form.

Continue Reading

How to Setup Wireguard VPN Server On Windows

wireguard server for windows tutorial

This tutorial goes through the process of setting up a Wireguard server on Windows. Most Wireguard tutorials on the internet only give you the choice of hosting a server in a Linux environment. However, it is very possible to setup a windows server.

After searching for a tutorial to no avail, I spent a couple days to figure out the best way to do it and how to automate the process. Ideally you would still want to run it in an Linux environment, but if you have a use case for a windows server like me, you would appreciate just how flexible Wireguard is!


  • Latest Wireguard Windows Client installed (Download here from official site)
  • Setup firewall rules (just as you would for a Linux server setup: open and forward ports 51820, configure ddns etc)

Using Wireguard on Windows as server is not officially supported. Use at your own risk.

Continue Reading

Off-Grid Tiny House Project Resources

  • Post author:
  • Post last modified:January 20, 2020
  • Post category:Projects
  • Post comments:0 Comments

This page contains the resources that will be useful for projects in the future. Channels: HandeemanLiving Big In A Tiny House Kirsten DirksenExploring Alternatives Logistics: Water System: https://www.youtube.com/watch?v=oyPwFXifqw0 Energy Designs:…

M.2 NVME POST Error Code 97 Solution (PCIE Error on ASRock X99 Taichi & STRIX GTX 980)

ASRock Taichi Error 97In my past experience of assembling over 15 systems or so for friends and family I have seen some mind blowing bugs and error codes. I’ve also heard some pretty weird anecdotes about how computer will only post if you perform certain rituals. However, this particular issue I’ve encountered with M.2 NVME drives with this particular motherboard blows all those stories out of the park.

Continue Reading

LG G3 D852 Telus/Koodo Version Rooting And TWRP Recovery Installation

The tutorial will walk you through the steps on how to properly root and install TWRP custom recovery on your Canadian Telus/Koodo LG G3 D852 (Also works for Bell/Rogers variants).

The common way to install TWRP on G3 is first to root the device and then use Autorec to install TWRP. This method is quick and dirty, but it can lead to problematic kernels which can break many functions (such as camera/phone not shutting down without battery pull) on your phone. This is why I strongly advise against using Autorec especially if you have the Telus/Koodo version of G3.

I will first explain the process behind rooting/bumping your phone, and why Autorec can cause potential problems. I will then walk you through the process of doing it properly.

Continue Reading