Scripting

Using Vultr Startup Scripts

By Finde Labs |  Feb 12, 2019  | openbsd, scripting, vultr

In a previous article, I wrote of my OpenBSD-Wireguard ansible configuration that I’ve been using for my personal VPN’s recently.

Using Vultr’s startup scripts in addition to the OpenBSD-Wireguard ansible playbook, one is able to deploy a wireguard VPN to any of Vultr’s datacenters within ten minutes. This includes the OS installation by Vultr, as well as the playbook execution following a final reboot.

Continue Reading...

OpenBSD with tmux

By Finde Labs |  Jan 24, 2019  | openbsd, scripting, tmux, terminal-multiplexing

Being able to take off from work, and the next morning, be able to hop back into my tmux session from the day before is truly lifechanging. I used a custom screen config for a little while before stumbling across tmux. I read into tmux one day at work, and was simply amazed at how much easier it was to configure than screen! This led me to conduct an in-depth comparison between tmux and screen. Did you know, screen has some 254 known bugs? Some go back to 2005 the last time I checked.

Tmux is an active project that is significantly easier to configure, and just as stable in my experiance.

Continue Reading...

Using ifstated to watch an egress link

By Finde Labs |  Jan 19, 2019  | openbsd, ifstated, scripting

While developing my own OpenBSD router, I stumbled across a built-in service called ifstated. Previously, I was using a cronjob to run a script every five minutes to check the status of pppoe0. However, ifstated is able to do everything that my script could, in a more powerful way.

The inspiration for this configuration file originated heavily from calomel’s tutorial. I did modify a handful of items though, to better tailor it to my own router’s design.

Continue Reading...