Slow Teathering With PinePhone
#11
(10-07-2022, 02:00 PM)treebeard Wrote: There are various posts suggesting some nftables magic can change the TTL to evade the sniffing but I haven't been able to get that to work.

For what it's worth, I did find a way to "fix" the TTL but it was not enough to avoid Verizon's tether-block.  After starting tether (or hotspot) do
Code:
sudo nft add rule ip nm-shared-usb0 filter_forward index 0 ip saddr 10.42.0.0/24 iifname "usb0" ip ttl set 64 accept

This will make the filter_forward chain look like:
Code:
chain filter_forward {
    type filter hook forward priority filter; policy accept;
    ip daddr 10.42.0.0/24 oifname "usb0" ct state { established, related } accept
    ip saddr 10.42.0.0/24 iifname "usb0" ip ttl set 64 accept
    ip saddr 10.42.0.0/24 iifname "usb0" accept
    iifname "usb0" oifname "usb0" accept
    iifname "usb0" reject
    oifname "usb0" reject
}
... where rule #3 becomes redundant but harmless.  This is quite a bit different than the other techniques I ran across, and perhaps it's not the best approach.  I leave it here in case someone else finds it useful.
  Reply


Messages In This Thread
Slow Teathering With PinePhone - by kujo_marble - 09-14-2022, 04:45 PM
RE: Slow Teathering With PinePhone - by treebeard - 09-28-2022, 09:04 AM
RE: Slow Teathering With PinePhone - by pjsf - 10-03-2022, 09:39 PM
RE: Slow Tethering With PinePhone - by treebeard - 10-04-2022, 03:06 PM
RE: Slow Teathering With PinePhone - by wibble - 10-06-2022, 05:24 PM
RE: Slow Teathering With PinePhone - by treebeard - 10-07-2022, 02:00 PM
RE: Slow Teathering With PinePhone - by treebeard - 10-08-2022, 04:38 PM
RE: Slow Teathering With PinePhone - by dachalife - 10-07-2022, 11:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  beep - playing PCM samples on PinePhone? WhiteHexagon 0 218 12-04-2025, 08:07 AM
Last Post: WhiteHexagon
Star Selling my Pinephone Pro Explorer Edition zheyon 2 3,015 12-01-2025, 10:25 AM
Last Post: Kevin Kofler
  PinePhone sensors - Gyroscope power WhiteHexagon 3 459 11-30-2025, 08:07 AM
Last Post: WhiteHexagon
  Light Sensor / Proximity Sensor on PinePhone? WhiteHexagon 1 414 11-18-2025, 03:07 PM
Last Post: WhiteHexagon
  Pinephone visibly losing power while plugged in Hiraghm 7 4,679 10-21-2025, 10:38 PM
Last Post: Anthona
  Pinephone boot. Richy_T 8 4,495 10-21-2025, 12:12 PM
Last Post: Richy_T
  How can I record video on a Pinephone? kk22 22 15,353 10-08-2025, 01:29 PM
Last Post: Kevin Kofler
  Does PinePhone support long-term battery health optimization? roseblack 5 1,390 10-06-2025, 09:05 PM
Last Post: Kevin Kofler
  iso pinephone for sale (USA) elwoodb25 0 3,870 09-24-2025, 09:25 PM
Last Post: elwoodb25
  Why projects like PinePhone matter – feedback and encouragement Gary2003 13 18,317 09-16-2025, 01:13 PM
Last Post: Gary2003

Forum Jump:


Users browsing this thread: 1 Guest(s)