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

Re: ipchains



On Sat, 20 Nov 1999, Rick Knebel wrote:

rknebe >Hi,
rknebe >I am trying out debian for the first time and have a couple of questions.
rknebe >In RedHat I put my ipchain rules in rc.local so they start up at bootime.
rknebe >Where in debian can I put these.

i put them in /etc/init.d/network

rknebe >
rknebe >I also have to put the command FORWARD_IPV4=true in the
rknebe >etc/sysconfig/network file.
rknebe >Is there a place in debian to do this.

add
echo 1 >/proc/sys/net/ipv4/ip_forward

that will turn on ip forwarding on a 2.2.x kernel, put that in
/etc/init.d/network too.

rknebe >I am obviously trying to setup masquerading in debian for my home network.

good luck, it isnt that hard :)

nate

----------------------------------------[mailto:aphro@aphroland.org ]--
   Vice President Network Operations       http://www.firetrail.com/
  Firetrail Internet Services Limited      http://www.aphroland.org/
       Everett, WA 425-348-7336            http://www.linuxpowered.net/
            Powered By:                    http://comedy.aphroland.org/
    Debian 2.1 Linux 2.0.36 SMP            http://yahoo.aphroland.org/
-----------------------------------------[mailto:aphro@netquest.net ]--
11:48am up 92 days, 23:23, 1 user, load average: 1.75, 1.59, 1.60


Reply to: