Re: IP forwarding: I probably have it but didnt know that..

Glynn Clements (glynn@sensei.co.uk)
Sat, 10 Oct 1998 13:40:26 +0100 (BST)


Jack Lehte wrote:

> I ve installed redhat5.0/kernel 2.0.32(which normally has no IP masquerade
> compiled
> in) and did recompile it for IP_masquerade kernel support, and I can tell
> you that I do not see
> any difference between the kernel with IP masquerade and the one without it:
> Both have exactly the same following files with same contents:

/proc/net/ip_masquerade and ip_masq_app only exist if the kernel was
compiled with CONFIG_IP_MASQUERADE defined.

/proc/net/ip_autofw only exists if the kernel was compiled with both
CONFIG_IP_MASQUERADE and CONFIG_IP_MASQUERADE_IPAUTOFW defined.

/proc/net/ip_forward only exists if the kernel was compiled with
CONFIG_IP_FIREWALL defined.

/proc/sys/net/ipv4/ip_forward always exists.

-- 
Glynn Clements <glynn@sensei.co.uk>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/