I followed the install wizard, and chose WireGuard when prompted. Most of the time, I'll write an Ansible playbook to automate my entire server build, but this time, I'm trusting the PiVPN installer-for now at least-which can be run with the command: curl -L | bash I decided to take control of the overly-aggressive fan and only have it run when the Pi was getting a bit hot, instead of having it run nearly all day. Since I'm running this Pi in my rack, I'm using a PoE HAT with it's annoying little fan. But I like managing all my static IP assignments on my router, centrally, in its DHCP settings. Note: You don't have to do this step-you could try setting a static IP in the install wizard later. Now that the Pi had a persistent IP address and an easy-to-remember local DNS name, I moved ahead with the PiVPN install. Then, I used sudo raspi-config to set the hostname for my Pi to. Then, purely for convenience on my local network, I set up the DNS assignment on the Pi-hole that runs DNS on my home network ( is a domain I purchased and use only for devices on my home network). So the first thing I did was use my router's software to statically assign an IP address to the Pi based on it's MAC address. If you prefer to read instead of watch, just keep scrolling )īecause WireGuard likes to have stability when it comes to DNS and IP addresses, I needed to give my Pi a stable DNS name and IP address on my home network. I have a full video which runs through the entire setup process, and shows a demo of me using it both in my Dad's radio studios and over in the UK. In my case, I already have a Pi that I bought way back in the fairy-tale times of 2019, and I wanted to try out WireGuard-mostly because I have managed OpenVPN before and found it. Something like a Libre Computer Le Potato should work in a pinch, without breaking the bank-though if you want faster networking, you'll have to pony up a little more cash, at least until the Pi shortage abates.Īnd PiVPN lets you pick one of two tried-and-true VPN stacks: OpenVPN or WireGuard. PiVPN, luckily, runs on any other Pi-like device, though, as long as it's running a Debian or Pi-OS-like distro. ![]() Enter PiVPN: in the olden days, when Raspberry Pis could be found at your corner drugstore for $35, it was probably the cheapest way to get yourself a fully-self-hosted VPN, assuming you have a public IP address. That's why I'm a 'self-hosted' homelabber, and why I try to find devices that don't leave my local network.īut that creates a conundrum: it is nice to be able to connect to everything from afar. ![]() As someone who has dealt with numerous security breaches for numerous services, I know not to trust 50 different cloud-connected devices in my home. ![]() Some people rely on individual cloud services from IoT vendors and have a bunch of apps to connect to each type of device independently. There are services I like to access remotely like my NAS with my giant media library, my edit server with all my active projects, and especially Home Assistant, which lets me monitor all aspects of my home. I am frequently away from home (whether on family vacation, a business trip, or out around town), but I have a number of important resources on my home network-as any homelabber does.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |