All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Setting Up WireGuard VPN on FreeBSD 14.3: PF Firewall Configuration and Linux Peer Routing

By

todsacerdoti

4mo ago· 22 min readen

Summary

This technical guide details setting up a WireGuard VPN on FreeBSD 14.3 for a home NAS server, covering firewall configuration with PF, routing between networks, and establishing a peer-to-peer VPN connection between FreeBSD and Arch Linux systems. The article is part of a series on building a home NAS server and focuses on connecting different network locations for secure remote access and data backup purposes.

Key quotes

· 4 pulled
The main idea is to (finally!) connect my 'office' and my apartment, and later, perhaps, also connect the server where rtfm.co.ua is currently running so that blog files and database backups can be stored directly on the ZFS mirror pool of the home server.
In the previous post, FreeBSD: introduction to Packet Filter (PF) firewall, we got acquainted with firewalls; the next step is to configure a VPN for access.
I am continuing to set up my home server on FreeBSD 14.3, which is intended to serve as a NAS.
This is part of a blog series documenting the process of building a home NAS server with FreeBSD.
Snippet from the RSS feed
Setting up WireGuard VPN on FreeBSD 14.3: PF firewall, routing between networks, and peer-to-peer VPN between FreeBSD and Arch Linux

You might also wanna read