🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help with ipmasqadm

#118
From: lincoln
Date: Mon, 06 Aug 2001 02:22
41 lines
3028 bytes
Rhasta wrote:

> 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.

I am running 2.2.16 and I just compiled it into the kernel, and voila, it
works!  I tried it with a newer kernel, but then I was getting messages and I
had to download the newest ppp and compile it in, etc, etc.  I reinstalled
with the 2.2.16 kernel, compiled it in, and it works with no other tweaking
(slackware 7.1).  Just follow the usual instructions in the Howtos and you'll
be fine.
If you're really worried about security, then you may have to use the newer
kernel, but it opens up a pandora's box of other things that have to be
updated, and I haven't read anything that warns you or tells you everything
you have to upgrade.

Hope this helps, let me know if I can help,
rutledge_almostaranch
Technical Details
Message-ID: <3B6DF789.430EFC46@greenapple.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!cyclone-sjo1.usenetserver.com!usenetserver.com!feed.news.qwest.net!dfw-peer.news.verio.net!dfw-feed.news.verio.net!news.verio.net!news!not-for-mail
References: <Gbjb7.51271$TW.257159@tor-nn1.netcom.ca> <5inrmtgqk3f3abf828o4e9uak675uuhiuh@4ax.com>

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: 106e9e,78567e60a0c020e2
X-Google-Attributes: gid106e9e,public
X-Google-Thread: 102983,78567e60a0c020e2
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 2001-08-05 18:52:38 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!cyclone-sjo1.usenetserver.com!usenetserver.com!feed.news.qwest.net!dfw-peer.news.verio.net!dfw-feed.news.verio.net!news.verio.net!news!not-for-mail
Message-ID: <3B6DF789.430EFC46@greenapple.com>
From: lincoln <rutledge@greenapple.com>
Reply-To: rutledge_almostaranch@yahoo.com
X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.16 i586)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: alt.os.linux.slackware,aus.computers.linux,comp.os.linux.security
Subject: Re: Help with ipmasqadm
References: <Gbjb7.51271$TW.257159@tor-nn1.netcom.ca> <5inrmtgqk3f3abf828o4e9uak675uuhiuh@4ax.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 42
Date: Mon, 06 Aug 2001 02:22:17 GMT
NNTP-Posting-Host: 198.144.79.178
X-Trace: news 997064537 198.144.79.178 (Sun, 05 Aug 2001 22:22:17 EDT)
NNTP-Posting-Date: Sun, 05 Aug 2001 22:22:17 EDT