Hi all,

I would like to use a linux phone with Ubuntu Touch or PostmarketOS to make a sort of mobile modem which, when my laptop connects to the phone’s hotspot, would have Pihole for DNS and a VPN. Is this possible, and which general steps would you recommend to go about it? I have installed PostmarketOS on a Poco F1 and connected to my VPN using openvpn in the terminal, but then when I open a browser on the same phone and check my ip address it shows the address of the wifi I’m connected to, not the VPN. So it seems I have no idea about the architecture of this endeavor.

I hope to have this working by Christmas when I go to visit my parents. The intended internet connection would be

home wifi —> linux phone [some level of privacy]—> my laptop wifi

Thank you in advance!

  • Reannlegge@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    17 hours ago

    I spent some money and got a Flint 2 and installed vanialla OpenWRT onto it. I have two free static IP addresses from my ISP, I planned on setting up a mail server on one of them but that dream crashed down on me when I started learning about it! Anywho I use one of my static IP addresses and wireguard to VPN into my place where I have two very finally tuned to block things and all my devices use that connection when I am away from home. I can use Jellyfin and show off all my other services like Mealie, which I just set up so it is pulling recipes out of webpages every 6 hours. KitchenOwl, that helps me make shopping lists I needed something better than a notes app. My HA setup that has all my IoT stuff and my reminders. My *arr stack, and whatever else I feel like sharing. I have not shown off Mealie of Kitchenowl yet as I have just got them but I have shown off the *arr stack and pretend to be insulted when people ask me what I use to watch the shows, movies (Jellyfin) not sure what I will be using for music but that is something I will figure out when I am closer to recomining my collection.

    *edit: I should maybe also mention I have a VPS so if I really wanted to I could do this all on there but I have a fleet of pi’s a 2014 Mac mini running Debian and hopefully a hand me down 2018 Mac mini that I will put Debian on in the next few weeks.