Gentoo Archives: gentoo-user

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] IPTABLES syntax change?
Date: Fri, 28 Dec 2012 06:16:55
Message-Id: 50DD3905.8080605@orlitzky.com
In Reply to: Re: [gentoo-user] IPTABLES syntax change? by Michael Orlitzky
1 I'm sure I made more than one typo, but the ALLOWED_ICMP below
2 definitely needs a dollar sign.
3
4
5 >
6 > for ok_icmp in ALLOWED_ICMP; do
7 > iptables -A ICMP_IN -p icmp --icmp-type "${ok_icmp}" -j ACCEPT
8 > done
9 >