🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.slackware
Article #117

Re: Help with ipmasqadm

#117
From: Rhasta
Date: Mon, 06 Aug 2001 00:03
25 lines
2109 bytes
On Sun, 5 Aug 2001 17:54:55 -0400, "JP" <pangjo@hotmail.com> wrote:

>I have been trying to set up port forwarding using ipmasqadm but could not
>make it work.  I have the following error when I issued the command
>"ipmasqadm portfw -l":
>
>Cound not open "/proc/net/ip_masq/portfw"
>Cound not open "/proc/net/portfw"
>Check if you have enabled portforwarding
>
>But I have no error messages when I set up the rules using "ipmasqadm
>portfw".  Also, ip_forward has the value of 1.  But I cannot find
>"/proc/net/ip_masq/portfw".  How can I enable portfowarding on Slackware
>2.2.16?
>
>Joe
>

First, you should upgrade to the latest kernel, as 2.2.16 has a
vulnerability.

Then, for portfw to work with ipmasqadm, you have to compile it either
in the kernel or as a module. If you compile it as  a module and you
do not use kmod to load modules on demand, you have to manually insert
it before doing a port forwarding with ipasqadm.
Technical Details
Message-ID: <5inrmtgqk3f3abf828o4e9uak675uuhiuh@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sunqbc.risq.qc.ca!carnaval.risq.qc.ca.POSTED!not-for-mail
References: <Gbjb7.51271$TW.257159@tor-nn1.netcom.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f906c,78567e60a0c020e2
X-Google-Attributes: gidf906c,public
X-Google-Thread: 102983,78567e60a0c020e2
X-Google-Attributes: gid102983,public
X-Google-Thread: 106e9e,78567e60a0c020e2
X-Google-Attributes: gid106e9e,public
X-Google-ArrivalTime: 2001-08-05 17:03:26 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sunqbc.risq.qc.ca!carnaval.risq.qc.ca.POSTED!not-for-mail
From: Rhasta <john@doe.com>
Newsgroups: alt.os.linux.slackware,aus.computers.linux,comp.os.linux.security
Subject: Re: Help with ipmasqadm
Message-ID: <5inrmtgqk3f3abf828o4e9uak675uuhiuh@4ax.com>
References: <Gbjb7.51271$TW.257159@tor-nn1.netcom.ca>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 28
Date: Mon, 06 Aug 2001 00:03:06 GMT
NNTP-Posting-Host: 24.226.136.158
X-Complaints-To: abuse@cgocable.ca
X-Trace: carnaval.risq.qc.ca 997056186 24.226.136.158 (Sun, 05 Aug 2001 20:03:06 EDT)
NNTP-Posting-Date: Sun, 05 Aug 2001 20:03:06 EDT