<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[wg(4), pf(4), and relayd(8): a love story]]></title><description><![CDATA[<p dir="auto">tl;dr I used <code>wg(4)</code>, <code>pf(4)</code>, and <code>relayd(8)</code>, all OpenBSD native tools, to encrypt all inbound connections from a gateway VPS to my local home server. This also hides my local IP information and I managed it all without much hassle and pain.</p>
<p dir="auto">I recently stood up a VPS running OpenBSD 7.9 on Vultr. The VPS is hosted in Chicago, Illinois, USA. I then took OpenBSD's native WireGuard driver, <code>wg(4)</code>, to establish an encrypted tunnel to my local home lab server. Using <code>relayd(8)</code>, OpenBSD's native reverse proxy, I can now forward virtual host connections to my home lab server, which has <code>httpd(8)</code> as a web server frontend. I used <code>pf.conf(5)</code> to configure OpenBSD's native fireweall, <code>pf(4)</code>, which was incredibly easy.</p>
<p dir="auto">The result is a secure gateway that routes all traffic via WireGuard to my local server, obfuscating its location and other IP information. This was done by simply configuring handful of system daemons. I've done some OpenBSD network configuration before, but this was the most work I've done. The best part, it wasn't that difficult, and all <code>man</code>ual pages provided sufficient details to work with them.</p>
<p dir="auto">Once I get my site set up I'll write up the experience and step-by-step instructions and share the page here.</p>
<p dir="auto">New OpenBSD milestone unlocked; no intent to stop anytime soon</p>
<p dir="auto">Happy hacking, hackers!</p>
]]></description><link>https://billboard.bsd.cafe/topic/296/wg-4-pf-4-and-relayd-8-a-love-story</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 04:28:27 GMT</lastBuildDate><atom:link href="https://billboard.bsd.cafe/topic/296.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Jul 2026 17:12:24 GMT</pubDate><ttl>60</ttl></channel></rss>