Hi Folks,
The hotspot I’m connected to has its post-routing TTL set to 1, which restricts internet sharing. How can I modify the TTL value of packets originating from my devices connected to the Gargoyle router before they are sent to the hotspot?
I’m already paying for internet access, but I want a separate network for my devices. Any help would be greatly appreciated!
How to Modify TTL on Gargoyle Router to Bypass Hotspot Restrictions?
Moderator: Moderators
-
- Posts: 15
- Joined: Tue Aug 21, 2018 1:45 pm
- Location: United Arab Emirates
How to Modify TTL on Gargoyle Router to Bypass Hotspot Restrictions?
WDR4300 v1 on 1.10.x
WR841ND v7 on 1.10.x
WR841ND v7 on 1.10.x
Re: How to Modify TTL on Gargoyle Router to Bypass Hotspot Restrictions?
You can try
iptables -t mangle -I POSTROUTING 1 -j TTL --ttl-set 65
If this works as intended you would add this to a boot up script so it is persistent.
iptables -t mangle -I POSTROUTING 1 -j TTL --ttl-set 65
If this works as intended you would add this to a boot up script so it is persistent.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
-
- Posts: 15
- Joined: Tue Aug 21, 2018 1:45 pm
- Location: United Arab Emirates
Re: How to Modify TTL on Gargoyle Router to Bypass Hotspot Restrictions?
Thanks for sharing your solution! A slight tweak in the code worked perfectly for me. Appreciate your help!
Code: Select all
iptables -t mangle -I PREROUTING -j TTL --ttl-inc 1
iptables -t mangle -I POSTROUTING -j TTL --ttl-set 65
WDR4300 v1 on 1.10.x
WR841ND v7 on 1.10.x
WR841ND v7 on 1.10.x