Re: RedHat 9 problem with IP_Forwarding

2004-04-28 Thread Tzafrir Cohen
On Sun, Apr 25, 2004 at 07:36:11PM +0300, David Suna wrote: When I was running RH7.3 I had the Linux box set up with ip_masq and ip_filter to be the Internet gateway for the other machines on the network. I am trying to do the same now but it is not working. I am able to connect to the

Re: RedHat 9 problem with IP_Forwarding

2004-04-27 Thread Lior Okman
You should check out the shorewall package ( http://shorewall.sourceforge.net/ ). Shorewall is a script that sets up the netfilter firewall from a list of easier-to-understand rules and configuration files. It also has some examples that may cut down your time-to-internet from the other

Re: Re: RedHat 9 problem with IP_Forwarding

2004-04-26 Thread david
[EMAIL PROTECTED] ---Original Message--- From: Guy Teverovsky [EMAIL PROTECTED] Subject: Re: RedHat 9 problem with IP_Forwarding Sent: 25 Apr 2004 18:20:11 echo 1 /proc/sys/net/ipv4/ip_forward To make it permanent add the following line to /etc/sysctl.conf

Re: Re: RedHat 9 problem with IP_Forwarding

2004-04-26 Thread Shaul Karl
On Mon, Apr 26, 2004 at 09:01:40AM +, david wrote: I have all of that set up. Before I had ip_forward turned on the packets didn't even go out on the Internet. Now they go out but with the wrong IP address (i.e. they say they are coming from 192.168.0.4 instead of the IP address of my

Re: Re: RedHat 9 problem with IP_Forwarding

2004-04-26 Thread Shaul Karl
On Mon, Apr 26, 2004 at 04:17:49PM +0200, David Suna wrote: Yes, the problem seems to be with the IPTABLES. I used the RedHat tool for setting up the IPTABLES but that didn't seem to work. I found the instructions below to clear out and set up a simple table for maquerading. iptables -F

Re: Re: RedHat 9 problem with IP_Forwarding

2004-04-26 Thread Guy Teverovsky
--=-X1DTPcYwJufIxwnwUEGL Content-Type: text/plain Content-Transfer-Encoding: 7bit See attached the cut-down version of the script I use. It has port forwarding examples and a bunch of things I added. Guy On Mon, 2004-04-26 at 17:17, David Suna wrote: Yes, the problem seems to be with the

RedHat 9 problem with IP_Forwarding

2004-04-25 Thread David Suna
Thanks to some off list help I was able to get my ISDN connection up with Bezeq. The problem was that I needed to upgrade my redhat-config-network package and the rhpl package as well. I thought I had done it but it turns out I hadn't. Upgrading solved the problem. I am now on to my next

Re: RedHat 9 problem with IP_Forwarding

2004-04-25 Thread Guy Teverovsky
echo 1 /proc/sys/net/ipv4/ip_forward To make it permanent add the following line to /etc/sysctl.conf: net.ipv4.ip_forward = 1 If you do not have static IP assigned by your ISP, you will also need: echo 1 /proc/sys/net/ipv4/ip_dynaddr The corresponding line in /etc/sysctl.conf is: