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

Re: where to do iptables setup?



On Wed, Jun 27, 2001 at 11:54:57AM -0700, Vineet Kumar wrote:
> Hello,
> 
> I recently upgraded one machine to the 2.4.5 kernel from the 2.2
> series. As it's running now, I have an iptables script which sets up
> my NAT and filtering rules. I was rather proud of myself having gotten
> my script to work fine on the first try, but I'm not sure what's the
> clean Debian Way to do things.
> 
> Now, I have cooked my own /etc/init.d/iptables which simply executes
> the script that I have placed in /etc/iptables. Another way I
> considered would be to mimc the /etc/init.d/ipchains script that comes
> in the ipchains package, with something like
> s/ipchains-\(save|restore\)/iptables-\1/ .  I wasn't sure on the
> state of those functions, so I didn't do so yet, but by now I
> started thinking there should be a clean Debian Way to do it. How do
> others load their firewall rulesets?
> 
> If there's an obvious answer (an "automatic" way I just missed) that
> would be great, otherwise I'd like to hear about your own personal
> setups.

	apt-get install ipmasq
	/etc/init.d/ipmasq restart
	ipmasq -v

unless i've missed something?

-- 
DEBIAN NEWBIE TIP #50 from Will Trillich <will@serensoft.com> 
:
Want to specify EDITOR SETTINGS WHEN LAUNCHING FROM MUTT?
Put something like this in your ~/.muttrc file:
	set editor="vim -c 'set ft=mail tw=64'"
That ensures that Vim syntax highlighting is set for "mail"
patterns, and that text will wrap automatically at 64
columns. (For more info, try ":help tw" or ":help ft" when
inside Vim. Also, browse /usr/share/doc/mutt/html/manual.html
for the full scoop on customizing Mutt.)

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: