uh...this should be defaulted. Turn ON on install, then restart.
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Thu, 24 Jul 2008 19:19:55 +0000 (19:19 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Thu, 24 Jul 2008 19:19:55 +0000 (19:19 +0000)
iptables.spec

index c680f4b..fa4b023 100644 (file)
@@ -115,6 +115,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add iptables
+/sbin/chkconfig --level 345 iptables on
+/sbin/service restart iptables
 
 %preun
 if [ "$1" = 0 ]; then
@@ -123,6 +125,8 @@ fi
 
 %post ipv6
 /sbin/chkconfig --add ip6tables
+/sbin/chkconfig --level 345 ip6tables on
+/sbin/service restart ip6tables
 
 %preun ipv6
 if [ "$1" = 0 ]; then