Re:

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

 



Kirkwood, David A wrote:

> Do I need to enable ip-forwarding for a system to function as an ip
> router or is this enabled automatically by routed? If I do need to
> manually how do I enable it? If not can I disable it though the routed
> or do I just use ipchains / iptables?

It can be controlled with:

	echo 1 > /proc/sys/net/ipv4/ip_forward
or:
	sysctl net.ipv4.ip_forward=1

or, if your system has an /etc/sysctl.conf file, just add:

	net.ipv4.ip_forward=1

Also, do you actually need to run routed? If you aren't sure, the
answer is probably no.

-- 
Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx>
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux