Fix wrong command usage for TTL

This commit is contained in:
iamromulan
2024-02-22 23:08:15 -05:00
committed by GitHub
parent 0804f7800f
commit 34c9c127fd

View File

@@ -272,11 +272,11 @@ configure_simple_firewall() {
echo "Invalid input: Please enter a numeric value."
return
else
systemctl stop ttl-override
/usrdata/simplefirewall/ttl-override stop
iptables -t mangle -F POSTROUTING
ip6tables -t mangle -F POSTROUTING
echo "$new_ttl_value" > /usrdata/simplefirewall/ttlvalue
systemctl start ttl-override
/usrdata/simplefirewall/ttl-override start
echo "TTL value updated to $new_ttl_value."
fi
;;