[GLLUG] ipchains

David Lee Lambert lamber45@egr.msu.edu
Thu, 13 Feb 2003 23:32:26 -0500 (EST)


On Wed, 12 Feb 2003, djf2 wrote:

> On Tue, 11 Feb 2003, David Lee Lambert wrote:
>
> > > The IP masquerading code will only work if IP forwarding is enabled
> > > in your kernel; you can do this by saying Y to "/proc
> > > filesystem support" and "Sysctl support" below and then executing a
> > > line like
> > >
> > >   echo "1" > /proc/sys/net/ipv4/ip_forward
> > >
> > > from a boot time script after the /proc filesystem has been mounted.
> >
> > When I try doing this,  I get a 'file not found' error.  I do have a /proc
> > filesystem,  and the option '/proc filesystem' is enabled in the kernel
> > configuration (under the section Filesystems);  is there another option
> > elsewhere I should know about?
>
>      You should also be able to find this info out through sysctl :
>
> [root@]# /sbin/sysctl -A net.ipv4 | grep forward

I get:

error: unable to open directory '/proc/sys'

Sure enough,  there is no such beast,  although I do have a lot of other
stuff under /proc.

-- 
DLL
http://www.cse.msu.edu/~lamber45/