[CentOS] Adding comments to /etc/sysconfig/iptables

Sun Apr 24 08:26:20 UTC 2011
Alexander Farber <alexander.farber at gmail.com>

Ouch you're correct. I only tried end-of-line comments, sorry

On Sun, Apr 24, 2011 at 9:30 AM, Nicolas Thierry-Mieg
<Nicolas.Thierry-Mieg at imag.fr> wrote:
> Alexander Farber wrote:
>> Is there a way to add comments to the iptables file?
>> A hash mark # does not seem to work.
>
> assuming you are talking about /etc/sysconfig/iptables , hash is indeed
> the comment mark, and works fine.
> In my file on this system all comment lines have a hash as first
> character on the line though, so perhaps it doesn't like end-of-line
> comments but only accepts full lines of comment.
>