[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: networking



On Fri, Jan 14, 2011 at 6:14 PM, shawn wilson <ag4ve.us@gmail.com> wrote:
> On Jan 14, 2011 5:56 PM, "Paul Cartwright" <debian@pcartwright.com> wrote:
>>
>> I added your script anyway  to the ip-up.d/firewall-rules , that looks
>> more better:)
>> took it out of interfaces. It actually didn't do what I want anyway, the
>> file It used was dated, and had not been updated with recent changes!
>
> If you do that, you might want to put something that cleans up those
> iptables rules in if-down.d. don't recall if iptables will chain rules if
> you're -Appending rules, but it might cause issues. Though, I suppose if
> there hasn't been issue so far with that in your interfaces file, there
> shouldn't be issue here. That said, its my general rule to make sure things
> clean up after themselves anyway...

+1

I flushi and delete the rules and set the policies to ACCEPT in
"/etc/network/post-down.d".


Reply to: