Re: Routing question

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

 



Enable forwarding with

echo 1 > /proc/sys/net/ipv4/ip_forward

If you are unable to do this, you must recompile your kernel with
/proc filesystem support and sysctl support.

Moreover, do:

iptables -I FORWARD -i eth0 -o eth1 -j ACCEPT

to allow _all_ trafic from eth0 go through eth1.
I'd suggest, however, to filter the traffic from eth0
going to eth1.

Felix Radensky <felix@allot.com> writes:

> Hi, folks
>
> How can I configure my Linux box to forward all packets coming
> to eth0 to go to eth1.
>
> TIA.
>
> Felix.
>
> -
> : 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

-- 
Andres Roldan, CSO
Fluidsignal Group
-
: 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