Curl or wget for https not working on 4G repeater but work on Ethernet on 20.03.2

Thanks @hansome at glinet , I found a way to change TTL to 65 on the repeater interface and that seem to fix the problem.

For anyone looking for the answer, here is what I have done on OpenWRT 22.03

I created a file /etc/nftables.d/12-mangle-ttl-65.nft and added the following into it. (change “eth2” for your actual tehtering interface)

chain mangle_postrouting_ttl65 {

  • type filter hook postrouting priority 300; policy accept;*
  • oifname “eth2” counter ip ttl set 65*
    }

chain mangle_prerouting_ttl65 {

  • type filter hook prerouting priority 300; policy accept;*
  • iifname “eth2” counter ip ttl set 65*
    }

found this info Working Nftables Rule for TTL in 22.03 - #17 by richardhd - Network and Wireless Configuration - OpenWrt Forum?