Re: Enabling IP forwarding

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

 



Rajesh N wrote:

> Trial 2
> Keep /proc/sys/net/ipv4/ip_forward unchanged (ie. Keep it as 0). Add the
> line FORWARD_IPV4=true in /etc/sysconfig/network file of X , and then 
> do a
> "service network restart".

The easiest/best way to do this varies from distro to distro. On recent 
RedHat, changing/adding the line

  net.ipv4.ip_forward = 1

in /etc/sysctl.conf will do what you want.

-- 
Casey Carter
Casey@Carter.net
ccarter@uiuc.edu
AIM: cartec69



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux