Hey together,
I used to have a rule in my firewall (firmware 3.xx) that I set up via Luci: iptables -t mangle -I POSTROUTING 1 -j TTL --ttl-set 65, and it worked great.
Now, my AR750S is running firmware 4.3.25, and unfortunately, it's no longer possible to easily add rules through Luci (as far as I know).
What does work is when I access the command prompt via SSH (root@192.168.8.1) and set the rule iptables -t mangle -A POSTROUTING -o wlan-sta0 -j TTL --ttl-set 65.
I can also save the rule here with echo 'iptables -t mangle -A POSTROUTING -o wlan-sta0 -j TTL --ttl-set 65' >> /etc/firewall.user and see it with iptables -t mangle -L POSTROUTING -v -n.
The problem I'm facing now is that the rule disappears every time I reboot the AR750S. How can I save the rule so that it remains active after a restart?
uci set firewall.portal_ttl=include
uci set firewall.portal_ttl.path='/etc/firewall-portal.user'
uci set firewall.portal_ttl.reload='1'
/etc/init.d/firewall reload