securityos/public/Users/Public/Documents/Tools/Firewall/FirewallConfig.sh

8 lines
194 B
Bash
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
chmod 744 ~/firewall
/etc/init.d/iptables save
/etc/init.d/ip6tables save
rc-service iptables start
rc-service ip6tables start
rc-update add iptables boot
rc-update add ip6tables boot