March 2025

Get faster OpenVPN on FreeBSD by enabling DCO – easily done

I’ve been configuring a new gateway server for use in my basement data center (home lab). I had recently read about DCO and FreeBSD’s opvn device. DCO (Data Channel Offload) let’s OpenVPN use the encryption features available in many CPUs. In my previous post, I checked; my OpenVPN server and most of the clients are DCO-capable. I decided to try it. I found documentation lacking as to how to use it. I took […]

Get faster OpenVPN on FreeBSD by enabling DCO – easily done Read More »

Problems with OpenVPN when server is FreeBSD 14.2 and client is 14.1

After replacing an existing gateway with new hardware, the OpenVPN connections had issues. The clients would connect, but non-trivial amounts of traffic would cause errors. This post contains a workaround, by upgrading the OS. I would like to know the cause. In this post, these are the version in use: FreeBSD 14.2 (for the OpenVPN server and some of the clients) FreeBSD 14.1 (for some of the clients) OpenVPN 2.6.13 (on the server

Problems with OpenVPN when server is FreeBSD 14.2 and client is 14.1 Read More »

Invoking ddclient from dhclient to update 3rd party dynamic dns hosts on FreeBSD

In this post: FreeBSD 14.2 ddclient-3.11.2 Ansible playbook for ddclient: https://github.com/dlangille/ddclient/ forked from https://github.com/hammadrauf/ddclient/ In my previous post, I configured dhclient to setup my Hurricane Electric tunnel and notify HE of same. First attempt: [12:39 gw01 dvl ~] % sudo ddclient [12:47 gw01 dvl ~] % tail /var/log/messages … Mar 6 12:47:50 gw01 ddclient[52929]: WARNING: ” is not a valid IPv4 or IPv6 address Mar 6 12:47:50 gw01 ddclient[52929]: WARNING: found neither IPv4

Invoking ddclient from dhclient to update 3rd party dynamic dns hosts on FreeBSD Read More »

When my home DHCP address changes, I want stuff done

I recently moved from an appliance to a FreeBSD 14.2 gateway. In this post: FreeBSD 14.2 gw01 gw01 photos These are the main things I need done when my IP address changes: restart OpenVPN restart my Hurricane Electric IPv6 tunnel with the new IP address – written Tell HE.net about my IP address change – written Notify OpenDNS.com about my IP address change Update a dynamic DNS entry so my VPN clients can

When my home DHCP address changes, I want stuff done Read More »

Scroll to Top