Article View: alt.os.linux.slackware
Article #119Re: Help with ipmasqadm
From: JP
Date: Mon, 06 Aug 2001 03:38
Date: Mon, 06 Aug 2001 03:38
69 lines
3756 bytes
3756 bytes
Rhasta,
Thanks for letting me know that the 2.2.16 would still work. But I still
cannot get over the port forwarding problem. I can issue the command the IP
masqerading command with any error messages:
ipmasqadm portfw -a -P tcp -L $external_IP 1800 -R $internal_IP 23
However, there is no forwarding occurs. Also I am still getting these error
messages after "ipmasqadm portfw -l":
Could not open "/proc/net/ip_masq/portfw"
Could not open "/proc/net/portfw"
Check if you have enabled portforwarding
Joe
"lincoln" <rutledge@greenapple.com> wrote in message
news:3B6DF789.430EFC46@greenapple.com...
> 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:
<7eob7.51314$TW.257500@tor-nn1.netcom.ca>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!tor-nx1.netcom.ca!tor-nn1.netcom.ca.POSTED!not-for-mailReferences:
<Gbjb7.51271$TW.257159@tor-nn1.netcom.ca> <5inrmtgqk3f3abf828o4e9uak675uuhiuh@4ax.com> <3B6DF789.430EFC46@greenapple.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 20:33:35 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!tor-nx1.netcom.ca!tor-nn1.netcom.ca.POSTED!not-for-mail From: "JP" <pangjo@hotmail.com> Newsgroups: alt.os.linux.slackware,aus.computers.linux,comp.os.linux.security References: <Gbjb7.51271$TW.257159@tor-nn1.netcom.ca> <5inrmtgqk3f3abf828o4e9uak675uuhiuh@4ax.com> <3B6DF789.430EFC46@greenapple.com> Subject: Re: Help with ipmasqadm Lines: 71 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <7eob7.51314$TW.257500@tor-nn1.netcom.ca> Date: Sun, 5 Aug 2001 23:38:50 -0400 NNTP-Posting-Host: 142.154.115.250 X-Complaints-To: abuse@attcanada.ca X-Trace: tor-nn1.netcom.ca 997068803 142.154.115.250 (Sun, 05 Aug 2001 23:33:23 EDT) NNTP-Posting-Date: Sun, 05 Aug 2001 23:33:23 EDT Organization: AT&T Canada IES