This is a simple little script that creates iptable rules and ssh'es into your phone to add your machine as a default gateway.
GitHub: https://github.com/CCF100/PinePhone-Reverse-Tethering My Gitea server (upstream): https://ccf100.duckdns.org/gitea/CCF_100/PinePhone-Reverse-Tethering