🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Iptables Entry Not Being Updated

#274054
From: Jack
Date: Sun, 17 May 2015 00:39
22 lines
2794 bytes
On 5/16/2015 3:48 PM, Anonymous Remailer (austria) wrote:
>> 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.
> 
I resolved my issue by repeating the steps that I have above, but I
should have done an iptables-restore < rules.v1 instead of the save
command. Everything is working now.
Technical Details
Message-ID: <5557E35B.70206@somewhere.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!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <1ZadnYoYCNPqMMrInZ2dnUU7-LudnZ2d@giganews.com> <f3fb5dbedcbcd5db96b6d63441debe8f@remailer.privacy.at>

Show Full Headers
Complete Article Headers
Message-ID: <5557E35B.70206@somewhere.com>
Subject: Re: Iptables Entry Not Being Updated
Date: Sat, 16 May 2015 17:39:55 -0700
From: Jack <jack@somewhere.com>
References: <1ZadnYoYCNPqMMrInZ2dnUU7-LudnZ2d@giganews.com> <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!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 16 May 2015 19:40:02 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.0;
MIME-Version: 1.0
Newsgroups: alt.privacy.anon-server
To: "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at>
In-Reply-To: <f3fb5dbedcbcd5db96b6d63441debe8f@remailer.privacy.at>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Lines: 22
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-fwvhFxUqxqkhRlIm2krXFBZmrsAw2MyCqfHoS4364QFSPmzHc0sxu1SImgwsCti0YQTQSOMbDpEvh0O!uob0aC6WhODxvprmpIDfOVb0n6pUNn8zEBFqnf+HMdSYffSl
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2511