Can I make my Firewalla blue do this instead of adding a raspberry Pi into the mix?
Here is the back story: I brew beer with a beer making machine called a Picobrew C. The company has completed bankruptcy proceedings and is ending all support, but for now they are leaving their server infrastructure up enough so people that still have unused Picopaks (a pre made package of the raw ingredients) can still brew, for now. The Picobrew also has a manual brew function that lets you buy all the ingredients yourself and brew manually. Here is the issue though, the Picobrew will not work at all if it can’t connect to their servers, and those are virtually guaranteed to go away soon, though I am reading they will stay up for the next 6 months. So some really smart people in the community figured out how to trick the Picobrew into thinking it is talking to the servers so you can still use it. Would it be possible to host the Picobrew server on the Firewalla as mentioned in the below github project? Can I set the Firewalla to redirect a DNS lookup for www.picobrew.com to its own IP so the hosted server can answer? I’m not the best with linux, so before I spend days going down a rabbit hole to nowhere I wanted to ask others. Hopefully someone here is in the exact same boat as me that can help.
If it can’t host, can it still redirect a DNS lookup to something else on my network? My Firewalla is in simple mode.
https://github.com/chiefwigms/picobrew_pico
Thanks for your thoughts on this.
-
DNS redirect yes, technically its possible but would require under the hood stuff and SSHing in. Pi-Hole can do it, plus there is a guide on how to intstall it for the blue
Option 1: Running pre packaged server via Docker
In theory the Firewalla Gold could run the docker container. Not sure about the blue though. You could always install docker on a windows machine, run it and set the dns redirect to the ip of that?
Option 2: Running server via Python directly
Its got python so yes, might need to change the port it runs on though.
-
Thank you Zane. I have been looking around in the dnsmasq config on my firewalla hoping to find a file where I could make a static DNS entry and give it a try but not having any luck. The files in here /home/pi/.firewalla/config/dnsmasq did not seem to be the right ones. Would you happen to know? If not I may go the pi-hole route.
-
I opened a support ticket about how to create a local static DNS entry. Here it is.
You can try the following:
1. Create a file under /home/pi/.firewalla/config/dnsmasq_local/
2. Write the following line to the created file, replace xx.xx.xx.xx to the IP address you want to redirect to
address=/www.whatever.com/xx.xx.xx.xx
3. Run the following command:
sudo systemctl restart firemasq
Please sign in to leave a comment.
Comments
10 comments