diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ae6f29d --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Package: firewall-sosdg +Version: 0.9.5-b1 +Section: net +Priority: optional +Architecture: all +Essential: no +Depends: iptables (>= 1.2.7), iproute, ${shlibs:Depends} +Pre-Depends: bash (>= 2.0) | dash +Suggests: conntrack, iptstate, fail2ban, dnsmasq +Maintainer: Brielle Bruns +Conflicts: ipkungfu +Provides: firewall +Description: iptables based Linux firewall + Firewall/SOSDG is a Linux Netfilter firewall designed + to be simple and effective. Features include NAT support, + port forwarding, basic routing/forwarding of packets, and + ipv6 firewalling support. diff --git a/rc.firewall b/rc.firewall index 6f2cffb..b9cc894 100755 --- a/rc.firewall +++ b/rc.firewall @@ -378,10 +378,7 @@ fi #================[IPv6]================ if [ $IPV6 ]; then - $IP6TABLES --flush &>/dev/null - $IP6TABLES -F OUTPUT &>/dev/null - $IP6TABLES -F PREROUTING &>/dev/null - $IP6TABLES -F POSTROUTING &>/dev/null + iptables_rules_flush ipv6 if [ -s "$BASEDIR/include/ipv6_custom_flush" ]; then display_c YELLOW "Loading custom IPv6 flush rules..." . "$BASEDIR/include/ipv6_custom_flush"