From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3789 invoked from network); 19 Jul 1999 14:47:48 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 19 Jul 1999 14:47:48 -0000 Received: from earth.uni-muenster.de (EARTH.UNI-MUENSTER.DE [128.176.216.227]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id KAA08052 for ; Mon, 19 Jul 1999 10:47:37 -0400 Received: (from steffers@localhost) by earth.uni-muenster.de (950413.SGI.8.6.12/950213.SGI.AUTOCF) id QAA11788 for axp-list@redhat.com; Mon, 19 Jul 1999 16:47:36 +0200 From: steffers@earth.uni-muenster.de (Georg Steffers) Message-Id: <199907191447.QAA11788@earth.uni-muenster.de> Subject: Re: Unidentified subject! To: axp-list@redhat.com Date: Mon, 19 Jul 1999 16:47:36 +0200 (METDST) In-Reply-To: <1BEE67ADF602D3119F9A0008C79174C701B80EF1@PETRIFIED> from "Durham, Kenneth J" at Jul 16, 99 11:30:35 am X-Mailer: ELM [version 2.4 PL24 ME5a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > I just installed IPmasq and Portforwarding. I have gotten the ipmasq > working just great but i cannot get the portforwarding working. Ive gone to > all the ipmasq sites and read the man pages for both ipmasq and portfw. I > still cannot get it to forward the port correctly the command that im > running is. > > ipmasqadm portfw -d -P tcp -L xxx.xxx.xxx.xxx 1008 -R 192.168.0.2 80 > > I made sure in the services that the port was avalible which it is i also > made sure that the portfw was enabled in the kernal and i rebuilt the kernal > and made all the modules. Ive tried diffrent steps to get this to work > correctly but i still cant get it working. can someone help me out. thank > you for your help. > ken OK, no one disagrees with my last answer on this. So again, it is not enough to build a new kernel and modules. The help on masquerading within xconfig tells you: The IP masquerading code will only work if IP forwarding is enabled in your kernel; you can do this by saying Y to "/proc filesystem support" and "Sysctl support" below and then executing a line like echo "1" > /proc/sys/net/ipv4/ip_forward from a boot time script after the /proc filesystem has been mounted. and after i did this my kernel did forward :) With the old 2.0.xx kernel it was possible to compile a kernel with forwarding. With the 2.2.x you need to enable it by hand (or a boot-script) as mentioned above. Georg