OpenWrt Forum Archive

Topic: I need to type this line every time my Fonera+ restart?

The content of this topic has been archived on 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

"iptables -t mangle -I PREROUTING -i eth0.1 -j TTL --ttl-set 2"

Becouse my ISP have a restrict TTL=1 on my line.

My Fonera+ is unlocked allready, so I open a SSH, and type this line manually.
Can somebody tell me how I can put this line, in the way that it execute it self automaticaly?
Where is AUTOEXEC.BAT in my Fonera+?

Thank you in advance.

I've add a line to the 'firewall.mangle' and it work till now.

The discussion might have continued from here.