I have free internet access on my 4G SIM card that allows me to use social media apps, including Telegram. However, this service does not support Hotspot tethering.
To work around this, I use a ZTE modem to receive the 4G signal and connect it to a secondary router running OpenWRT. Then, I modify the TTL (Time To Live) value to 65 using nftables
with the following commands:
mkdir -p /usr/share/nftables.d/chain-pre/mangle_postrouting/
echo "ip ttl set 65" > /usr/share/nftables.d/chain-pre/mangle_postrouting/01-set-ttl.nft
fw4 reload
This approach worked perfectly, and I was able to access the free social media services.
Just like on a phone, if I run a VLESS server, I can gain full internet access. Fortunately, my service provider doesn't enforce strict restrictions, so I can easily bypass the limitations using a configuration like this:
vless://81e1a55c-328a-41a1-9f09-5900ef93e79e@test.tedt:443?encryption=none&flow=none&type=ws&host=www.telegram.org&headerType=none&path=%2Fws&security=tls&sni=www.telegram.org#vless-ws-tls
Here, I use WebSocket (ws) and set the SNI to a domain of one of the allowed social media platforms.
Later, I decided to install Passwall on the router and connect it to the VLESS server. I followed the method described in this guide:
https://github.com/amirhosseinchoghaei/Passwall
However, after installing Passwall2, I could no longer access the free social media services. I had no internet access at all, and the router couldn't connect to the VLESS server.
What could be the issue, and how can I fix it?
For reference, I confirmed that the TTL is still set to 65 by pinging the router's IP address.