A mesh VPN using OpenBSD and WireGuard

WireGuard is a new coming to OpenBSD 6.8 and it looks like a simple and efficient way to connect computers.

I own a few VPS (hello Vultr, hello OpenBSD.amsterdam) that tend to be connected through filtered public services and/or SSH tunnels. And that’s neither efficient nor easy to manage. Here comes the wg(4) era where all those peers will communicate with a bit more privacy and ease of management. Continue reading “A mesh VPN using OpenBSD and WireGuard”

Back to the sea ; the virtual private network (VPN), episode IX

I use VPN to remotely connect to my home-LAN when I’m away.
I’ve tried may kinds of VPN ; from IPsec (point-to-point) to SSL through L2TP. I found that the easiest one to implement, when using various OS client, was VPN/SSL. And the easiest software to be used by any OS, or at least any I use, was OpenVPN. From Windows to OSX through NetBSD, there’s an available binary.
So let’s create the server on OpenBSD.
Continue reading “Back to the sea ; the virtual private network (VPN), episode IX”

Traffic routing through VPN

In my actual configuration, OpenVPN provides a remote DNS and only routes traffic to the internal LAN. Every public traffic is kept out of the VPN. Yesterday, I wanted to route every traffic through my VPN ; to masquerade my 3G IP address :-D
Continue reading “Traffic routing through VPN”

OpenVPN server on NetBSD

The following notes will help you install and configure OpenVPN on a NetBSD server. This is how I can connect to my $HOME network from anywhere on the Internet.

Note that the install describes the “bridge” mode. This allows to get an IP address on the same LAN segment than my servers.
Continue reading “OpenVPN server on NetBSD”