Community discussions

MikroTik App
 
Stavman
just joined
Topic Author
Posts: 5
Joined: Tue Jan 12, 2021 12:08 am

How to setup Mikrotik router and TTL

Tue Jan 12, 2021 12:14 am

I've been trying to get this set up on my new LHG LTE-US router

Im using verizon , and have tried a few options

Any help would be fantastic

Stav
 
Stavman
just joined
Topic Author
Posts: 5
Joined: Tue Jan 12, 2021 12:08 am

Re: How to setup Mikrotik router and TTL

Tue Jan 12, 2021 5:15 pm

Bump

Anyone able to help? I work from home so going mobile with all this covid crap would be a great help for my family's mental health
 
User avatar
k6ccc
Long time Member
Long time Member
Posts: 616
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)

Re: How to setup Mikrotik router and TTL

Tue Jan 12, 2021 5:18 pm

How about asking a question. The subject is so vague, and other than that, you don't tell us what you are trying to do, or what you need help with.
RB750Gr3, RB750r2, CRS326-24G-2S (in SwitchOS), CSS326-24G-2S, CSS106-5G-1S, RB260GS
Not sure if I beat them in submission, or they beat me into submission

Warning: I know enough to be dangerous...

Jim
 
erlinden
Long time Member
Long time Member
Posts: 637
Joined: Wed Jun 12, 2013 1:59 pm

Re: How to setup Mikrotik router and TTL

Tue Jan 12, 2021 5:19 pm

Can you please share the configuration (/export hide-sensitive file=anythingyoulike)?
What have you tried, what are you trying and what problems are you running into?
First the problem, then the solution
 
Stavman
just joined
Topic Author
Posts: 5
Joined: Tue Jan 12, 2021 12:08 am

Re: How to setup Mikrotik router and TTL

Wed Jan 13, 2021 4:03 pm

I'll get it setup today and fun that report @erlinden

So far I've been reading up but cZnt find a difinitive solution to change the TTL

So hopefully you experts can guide me in the right direction
 
sindy
Forum Guru
Forum Guru
Posts: 6649
Joined: Mon Dec 04, 2017 9:19 pm

Re: How to setup Mikrotik router and TTL

Wed Jan 13, 2021 5:46 pm

Repeating @k6ccc's question: what do you want to achieve, or what problem you are trying to address? This forum can answer you any question regarding Mikrotik configuration, but you haven't asked a clear question yet.
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.
 
Stavman
just joined
Topic Author
Posts: 5
Joined: Tue Jan 12, 2021 12:08 am

Re: How to setup Mikrotik router and TTL

Wed Jan 13, 2021 5:52 pm

Trying to adjust the TTL settings in the Mikrotik router to bypass the HOTSPOT data usage when my Verizon card is used on the dish

So I'm able to use unlimited data , as a phone does, and not use the hotspot data

Does that make sense??
 
sindy
Forum Guru
Forum Guru
Posts: 6649
Joined: Mon Dec 04, 2017 9:19 pm

Re: How to setup Mikrotik router and TTL

Wed Jan 13, 2021 6:02 pm

Now yes 🙂
I'll comment in a while.
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.
 
Stavman
just joined
Topic Author
Posts: 5
Joined: Tue Jan 12, 2021 12:08 am

Re: How to setup Mikrotik router and TTL

Wed Jan 13, 2021 6:12 pm

Now yes 🙂
I'll comment in a while.
Thanks, I appreciate the help
 
sindy
Forum Guru
Forum Guru
Posts: 6649
Joined: Mon Dec 04, 2017 9:19 pm

Re: How to setup Mikrotik router and TTL

Wed Jan 13, 2021 6:23 pm

To manipulate TTL, you use an action=change-ttl rule in /ip firewall mangle.

The own traffic of the router should leave with TTL=255, but even that may not always be the case, so you need a mangle rule in chain postrouting which handles both the router's own traffic (such as DNS) and the forwarded traffic from LAN.

/ip firewall mangle add chain=postrouting action=change-ttl new-ttl=set:255 ttl=greater-than:200 out-interface=your-lte-interface-name

In order that it worked, you must not use fasttracking (so disable the action=fasttrack-connection rule in /ip firewall filter if there is one) because one of the reasons why fasttracking speeds up packet processing is that it skips mangle rules.

If you happen to already have any other mangle rules in chain postrouting, first issue a command /ip firewall mangle print chain=postrouting where !dynamic, and only then issue the command above with additional parameters passthrough=yes place-before=0.

Whether this will help or not is a question, as the mobile operator may also check the IMEI of the equipment, not just the TTL, an even not accept connection to particular LTE bands for "wrong" IMEIs.

The additional condition (ttl=greater-than:200) is there to allow traceroute to work (using the hotspot data quota probably). If you're never going to use traceroute, you may omit this condition.
Last edited by sindy on Thu Jan 14, 2021 8:09 am, edited 1 time in total.
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], SteveM2, Znevna and 179 guests