adb shell
settings put global tether_dun_required 0
# makes the build.prop file editable
mount -o rw,remount /
# adds a line in build.props
echo "net.tethering.noprovisioning=true" >> /system/build.prop
# check correctly written with 
cat /system/build.proprestart device
wifi & network> sim1> Access Point Names
Name test
APN fast.t-mobile.com
proxy 
port
username
password
server
mmsc http://mms.msg.eng.t-mobile.com/mms/wapenc
mms proxy
mms port
mcc 310
mnc 260
authentication type not set
apn type
default,tether,supl,mms,admin,hipri
apn protocol IPv4
APN enable/disable APN enabled (forced on)
bearer UMTS,LTE
MVNO type GID
MVNO value 544D
source https://forum.xda-developers.com/t/looking-to-bypass-t-mobile-hotspot-throttling.4037543/
My OS on high sierra didn't have the file needed so create it first. Otherwise just add the line
touch /etc/sysctl.conf
In sysctl.conf
net.inet.ip.ttl=65
I think restart is needed. Or, temporarily change TTL
sudo sysctl -w net.inet.ip.ttl=65
https://shevchenko.cc/10-how-to-change-ttl-in-windows-10.html