
I will also be setting up and using VLANs so we can use the single Ethernet port for both WAN and LAN securely, this means you’ll need a managed/smart switch that supports VLAN tagging or you can use a USB Ethernet adapter and leave out the VLAN related instructions (I’ll tell you what to do instead).ĭownload and install the lite version of Raspbian from the Raspberry Pi website. In this guide I’ll take you through every step of making a working router that does NAT, Firewalling, DNS and DHCP.

The only caveat is it’s limited to 100Mbs full duplex so if you’ll be routing more than ~80Mbs of traffic then you should look at something faster. You’ll learn more about how a router, Linux and basic networking works by setting it up from scratch.Buying it probably won’t make you broke.It’s tiny, smaller than most consumer routers.So why would anyone want to use a Raspberry Pi as a router if it’s only going to be slower and more complicated? You’ll have a router sitting there using 50-100W of power 24/7 with a very simple setup process and a nice web GUI. Grab an old PC, add a 2nd NIC, install pfSense (a Router distribution of FreeBSD) and you’re done. I will work on rewriting this tutorial myself with due credit to the author.Do you have an interest in tech and enjoy the odd DIY project? As a fact, I'm writing this on my RPi3b+ and I have the same error but I'm still connected to the internet. For all of the people saying that they are losing internet connection because `DHCP connection has been lost` are not realizing that you still have internet access. This tutorial is not wrong and it should work.

But I suggest that anybody who comes by and finds that the internet is not working to reinstall the os and try again from scratch.

Some devices such as samsungs try to prevent insecure connection. This would mostly be due to older phones or phones with greater security. Other people are having trouble with just getting this to connect or even showing up as a connectable device on there phones. Alot of people hear do not realize that the eth0 is being bridge to wlan0 so that it can be broadcast with hostapd. It would appear that this tutorial is due for a rewrite.
