GL sft1200 opal on MSC cruise

uci batch <<- __EOF
	add firewall rule
	rename firewall.@rule[-1]='custom_ttl'
	set firewall.custom_ttl.name='Set TTL to 64'
	set firewall.custom_ttl.src='wan'
	set firewall.custom_ttl.proto='ip'
	set firewall.custom_ttl.target='ACCEPT'
	set firewall.custom_ttl.ttl='64'
	reorder firewall.custom_ttl='1'
	set firewall.custom_ttl.enabled='1'
__EOF
uci commit firewall && /etc/init.d/firewall restart
1 Like