My old Raspberry Pi's power supply blew up and took the SD card with it. So, I thought, what better excuse do I need to fork out for a brand new Raspberry Pi 2? And that's exactly what I did; bought a Rpi 2 starter kit from Amazon! After setting up my new Pi to perform the same functions as the old one (DHCP/DNS, VPN Server, Remote Wake-On-LAN etc). I decided to see if it was possible to use it as a PXE server to perform network installations of ESXi 6.0. Spoiler alert -- it is!
In the previous installment of the home lab build guide, I covered the initial setup of the Raspberry Pi and the configuration of a few useful network services, spefically, DNSmasq, NTP, OpenVPN and Wake-On-LAN. In this article I'm going to cover some ways of securing the Raspberry Pi and it's services in preparation for making the features accessible from the public Internet.
My girlfriend, who has a very sweet tooth got quite upset about this. I kept mentioning this raspberry pie I'd ordered and she was getting kind of excited about the prospect of it being delivered. She couldn't quite fathom why I'd ordered a pie from eBay instead of just getting one from the supermarket, but chose not to question me about it. When I told her it had finally arrived, her face lit up. That is until I dangled the small circuit board in front of her. She just gave me a look that was equal parts confusion and disappointment.
Before I go any further with the lab build I decided to configure the Raspberry Pi I bought. Initially the device was meant to provide a way of issuing Wake-On-LAN commands to my ESXi hosts remotely, but after tinkering with the Pi for a bit and doing a spot of Googling it seemed it had the potential to perform a number of other functions for me too.