Red Hat Topics - Re: iptables masquerading/snat stop working upon moving to kernel

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > August 2005 > Re: iptables masquerading/snat stop working upon moving to kernel





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: iptables masquerading/snat stop working upon moving to kernel
Jean-David Beyer

2005-08-23, 7:46 am

Llanzlan Klazmon wrote:
> S P Arif Sahari Wibowo <arifsaha@yahoo.com> wrote in
> news:Pine.LNX.4.63.0508220850270.5253@localhost.localdomain:
>
>
>
>
> Do you have ip_forward turned on?
>

Here is part of my /etc/sysctl.conf:

# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.conf.default.rp_filter = 1
net.ipv4.ip_forward = 1 <---<<<
net.ipv4.conf.eth0.forwarding = 1
net.ipv4.conf.eth1.forwarding = 1

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 06:30:00 up 69 days, 25 min, 3 users, load average: 4.18, 4.20, 4.10
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com