To forward the port via ADB (more reliable):
While PdaNet has native clients for and macOS , there is no official Linux client . However, Linux users can still utilize PdaNet’s USB tethering mode using a proxy method. How PdaNet Works on Linux PdaNet on Android (and iOS) creates a local proxy server on the phone when connected via USB. The computer’s browser or system is configured to send traffic through that proxy.
Last tested: Ubuntu 22.04 / Android 13 – PdaNet 5.0.3 Disclaimer: Tethering methods that bypass carrier restrictions may violate your service agreement. Use at your own discretion.