🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #274051

Re: Iptables Entry Not Being Updated

#274051
From: Anonymous Remailer (austria)
Date: Sat, 16 May 2015 22:48
19 lines
1941 bytes
> I currently have 298 entries in my iptables on my debian server. I added
> another entry this morning using nano rules.v1 . I cursor down to the
> bottom of my rules file and add the new entry, save the file and then
> reopen the file to make sure the entry has been saved.
>
> I then do a iptables-save > /etc/iptables/rules.v1 but when I reopen the
> rules.v1 file the entry is not listed in my file. Is there a limit to
> the amount of entries that can be in your iptables file?

  It doesn't sound like you are using the firewall right.

Your /etc/iptables/rules.v1 seems to be your rules backup file.  
The way you make new entries in your iptables is like this:

iptables -A INPUT -s ???.???.???.??? -j DROP -m comment --comment "any comment" && iptables-save > /etc/iptables/rules.v1

  The reason the entry you added to your rules.v1 file disappeared is because the 'iptables-save > /etc/iptables/rules.v1' you did after making a manual into your the rules.v1 file overrode it.
Technical Details
Message-ID: <f3fb5dbedcbcd5db96b6d63441debe8f@remailer.privacy.at>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20150519.mbox.gz!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!sewer!news.dizum.net!not-for-mail
References: <1ZadnYoYCNPqMMrInZ2dnUU7-LudnZ2d@giganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <f3fb5dbedcbcd5db96b6d63441debe8f@remailer.privacy.at>
Subject: Re: Iptables Entry Not Being Updated
Date: Sat, 16 May 2015 22:48:17 +0000
From: "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at>
References: <1ZadnYoYCNPqMMrInZ2dnUU7-LudnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20150519.mbox.gz!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!sewer!news.dizum.net!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 194.109.206.211
Lines: 18