The ownyourproxy command runs the engine without a window, so a Raspberry Pi with a powered USB hub can host the phones and share them with Remote access.
The script downloads the .deb for your architecture (arm64 or amd64) and installs it with apt. It also installs usbmuxd, which pairs iPhones. To do it by hand:
12curl-fsSLO https://ownyourproxy.com/download/ownyourproxy-arm64.deb # or -amd64.debsudo apt install ./ownyourproxy-arm64.deb
Start the service
123systemctl--userenable--now ownyourproxy &&sudo loginctl enable-linger $USERsudo ownyourproxy routing --fix# phone links never carry the computer's own trafficownyourproxy list
enable-linger keeps the user service running after you log out of SSH.
Run the routing fix. NetworkManager gives a wired iPhone link a lower route metric than Wi-Fi, so without it the whole computer would use the phone. routing --fix writes a NetworkManager (or systemd-networkd) rule that gives phone links metric 2000.
Phones
Phone
Driver
What to turn on
iPhone
ipheth
Personal Hotspot, then Trust
Android
rndis_host or cdc_ncm
Settings > Network > Hotspot > USB tethering, after every plug