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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone Pro Neural Processing Unit biketool 0 188 03-26-2025, 11:01 AM
Last Post: biketool
  contact sales pinephone janjansen1312 2 426 03-17-2025, 07:29 PM
Last Post: tllim
  PinePhone Pro P. Siera 4 1,729 03-14-2025, 07:00 PM
Last Post: Kevin Kofler
  [Article] PR Test Bot for PinePhone (Avaota-A1 SBC / Apache NuttX RTOS) lupyuen 0 243 03-08-2025, 02:43 PM
Last Post: lupyuen
Star Selling my Pinephone Pro Explorer Edition zheyon 0 549 01-31-2025, 02:27 PM
Last Post: zheyon
  PinePhone earpiece too quiet Waffelo 3 803 01-01-2025, 09:41 PM
Last Post: Kevin Kofler
Question WhatsApp & Pinephone - What are the alternatives for collaborative comms? danimations 15 20,618 12-27-2024, 03:02 AM
Last Post: biketool
  eSIM on PinePhone just_a_q 9 6,542 12-25-2024, 04:16 AM
Last Post: zetabeta
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 13 8,789 12-05-2024, 04:38 PM
Last Post: tllim
  Pinephone compatibility with Telstra, now that 3 G shutdown and 5 G available tracyanne 0 563 12-04-2024, 10:53 PM
Last Post: tracyanne

Forum Jump:


Users browsing this thread: 1 Guest(s)