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

Re: Static Routes in Debian



lfilipoz@emyr.net (Luca Filipozzi) writes:
> On Fri, Feb 23, 2001 at 09:40:53AM -0800, Bill Wohler wrote:
> >   While moving the eth0 configuration to /etc/network/interfaces is
> >   obvious, less obvious is what should be done with the ipchains
> >   commands and forwarding commands (echo "1" >
> >   /proc/sys/net/ipv4/ip_forward)
> 
> look in /etc/network/options and set ip_forward=yes

  That was a fortuitous example. Thanks for the tip.

> Make a separate /etc/network/firewall script and structure it like an init.d
> script. Then, in your /etc/init.d/interfaces file, you can do stuff like:

  So you concur that /etc/network is the ideal location for such a
  script? Other locations that come to mind are /usr/local/sbin or
  /usr/local/etc.

-- 
Bill Wohler <wohler@newt.com>  http://www.newt.com/wohler/
Maintainer of comp.mail.mh FAQ and mh-e. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.



Reply to: