4 ms·
I don’t think it will be good option. I think RPi is better for your usecase. I believe pihole works with just 1 eth port as you are just using it for dns quer
by vkdelta 4y ago
I don’t think it will be good option. I think RPi is better for your usecase.
I believe pihole works with just 1 eth port as you are just using it for dns queries and not actually NAT’ing traffic through it.
- nabakin 4y agoYeah, I know a lot about PiHole and how it works, but I'm creating a MITM AdBlocker like Privoxy. For that, I need 2 Ethernet ports. Raspberry Pis also cost a ton right now because they have been heavily affected by the silicon shortage. Also, I want to develop for a platform which is cheaper than the Raspberry Pi at MSRP.
- m3koval 4y agoIt should be possible to do that using one Ethernet port using VLANs. You could buy a cheap L2 managed switch and use it to trunk two different Ethernet networks on the same port. Then you would configure the Linux networking stack to split the VLANs into separate interfaces. I am by no means a networking expert and was able to use technique to work around a similar issue in the past. It was easier than I expected!