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

CyberPsychotic (fygrave@freenet.bishkek.su)
Sat, 10 Oct 1998 19:04:53 +0500 (KGT)


> #/proc/net/ip_forward:
> IP firewall forward rules, default 4
> #/proc/sys/net/ipv4/ip_forward
> 0 ( theres a "0" under this file!)

should be 1 to enable IP forwarding, right?

> #/etc/sysconfig/network
> NETWORKING=yes
> FORWARD_IPV4=false

set here yes (or true) and rc.script will set that value to 1 at boot
time.

> /etc/sysconfig/network
> NETWORKING=yes
> FORWARD_IPV4=(I put "true" instead of false)...
> that enables IP masquerade on my system ??

this enables IP forwarding, masquerade is considered as some kind of
forwarding, I suppose, eh folks? You just rewrite (mask) source/dest.
addresses in certain way.

> II) But what about the command "ipfwadm" that is actually impossible to run
> on my actual linux
> box recompiled for IP_masquerade?? should I simply download the ipwadm
> package and install it as
> ..???

well, that's what I did with my old slack. box, which didn't have ipfwadm
preinstalled. I just downloaded it and compiled, I probably had to fix
some fileheaders at that time, since they were abit messy..

> And IP_masquerade/forwarding would then run ok on my system??

if you will set correct IP forwarding/Masquerading rules, then yes.

Fyodor

---
Fyodor Yarochkin	tel:[996-3312] 474465	  email:fygrave@tigerteam.net
- "Please stop the earth, let me off! " -     http://www.kalug.lug.net/fygrave

Linux-admin-FAQ primary site is: http://www.kalug.lug.net/linux-admin-FAQ/

- 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/