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

8 lines
194 B
Bash

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