/proc/sys/net/ipv4/ip_forward problem

/proc/sys/net/ipv4/ip_forward problem

Post by Tommy Brow » Tue, 22 Aug 2000 04:00:00



Hello,

I have been successfully using RH 6.0/6.2 for a year on my main machine
an running ipchains to provide firewalling/masquerading for my home
network.

I've now got hold of an old P90 box, and have set it up *console only*
to be
the firewall. Everything works great, except that on boot/reboot the
/proc/sys/net/ipv4/ip_forward file always contains 0 (zero), which
prevents
IP forwarding working. I can do an echo 1 >
/proc/sys/net/ipv4/ip_forward
manually and then it works OK.

I used to use the netcfg GUI app to "enable IPV4 packet forwarding" and
can't figure out the equivalent from a console. I have routing enabled
in
the linuxconf section Config/Networking/Client tasks/Routing &
gateways/Defaults

ALternatively, is there a strtup script I could put the echo command
into, I am
a wee bit confused due to the plethora of network scripts...

Any and all suggestions appreciated,

LGFR

 
 
 

/proc/sys/net/ipv4/ip_forward problem

Post by Villy Kru » Tue, 22 Aug 2000 04:00:00



>Hello,

>I have been successfully using RH 6.0/6.2 for a year on my main machine
>an running ipchains to provide firewalling/masquerading for my home
>network.

Check /etc/sysctl.conf on RH6.2, /etc/sysconfig/network on previous redhat
releases.

Villy

 
 
 

/proc/sys/net/ipv4/ip_forward problem

Post by Tommy Brow » Tue, 22 Aug 2000 04:00:00




> >Hello,

> >I have been successfully using RH 6.0/6.2 for a year on my main machine
> >an running ipchains to provide firewalling/masquerading for my home
> >network.

> Check /etc/sysctl.conf on RH6.2, /etc/sysconfig/network on previous redhat
> releases.

> Villy

Villy,

Thank you very much for your help! I have set the FORWARD_IPV4 to "yes"
and it works just fine now!

LGFR

 
 
 

1. ipv4: move proc stuff from net/ipv4/af_inet.c to net/ipv4/proc.c


   Date: Tue, 29 Oct 2002 11:42:07 -0200 (BRDT)

        Please consider pulling from:

   kernel.bkbits.net:/home/acme/net-2.5

Pulled, thanks.

I just did a push to Linus, so this will go show up in the next round.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Current problem reports assigned to you

3. /proc/sys/net/ipv4/ip_forward being turned off

4. Make sense out of a bootable floppy

5. Which controls packet forwarding - sysctl.conf or /proc/sys/net/ipv4/ip_forward ?

6. Which Communicator works on OpenBSD?

7. Q: How to change default for /proc/sys/net/ipv4/ip_forward on RH 8.0?

8. Broblem with Exabyte drive..

9. Oddity with /proc/sys/net/ipv4/conf/all

10. New: Divide by zero (/proc/sys/net/ipv4/neigh/DEV/base_reachable_time)

11. What's the equivalent of /proc/sys/net/ipv4/ip_always_defrag in v2.3?

12. echo 0 > /proc/sys/net/ipv4/tcp_timestamps per [session, reboot, connection]?

13. WHAT IS /proc/sys/net/ipv4/ipfrag_low_thresh