Openmptcprouter: [FeatureRequest] TTL Mod

Created on 16 Sep 2020  路  2Comments  路  Source: Ysurac/openmptcprouter

Expected Behavior



TTL increase on Wan

Current Behavior



Please add the function to set an ttl offset. Some Mobile network providers use the TTL value to block or charge different for hotspot Data. if we can set the ttl to one higher tan normal it will look like data from the phone to the network provider.

Most helpful comment

I added in develop branch the "sysctl net.ipv4.ip_default_ttl" setting.
I will add later change of TTL by interface.

All 2 comments

Add rules in network - Firewall - Custom Rules
XXXX is the number you want.

modprobe xt_HL
modprobe xt_hl
iptables -t mangle -A POSTROUTING -j TTL --ttl-set XXXXX

I added in develop branch the "sysctl net.ipv4.ip_default_ttl" setting.
I will add later change of TTL by interface.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Malaga82 picture Malaga82  路  6Comments

sench4707 picture sench4707  路  12Comments

PCRyan picture PCRyan  路  4Comments

ndaptardar picture ndaptardar  路  3Comments

Rwestrem picture Rwestrem  路  6Comments