Re: No ip-masquerade after upgrade 2.2.19 to 2.4.20

2002-12-24 Thread Shawn Lamson
On Tue, 24 Dec 2002 11:05:03 -0600 (CST)
Russ Cook <[EMAIL PROTECTED]> wrote:

> Please disregard my previous email.  On my fifth kernel compile, I now
> have ipmasquerading.  I enabled and included everything under the sun
> with regard to ppp, iptables, ipchains, and ipmasquerading. 
> Undoubtedly, I have a bloated kernel with features I don't need, but
> it works now.
> 
> I now need to educate myself on the differences between 2.4 and 2.2
> with respect to iptables/ipchains.  Is there a concise synopsis
> anywhere in the Linux Documentation Project that I can reference?
Yes there is - in fact b/c of your email last night i compiled a 2.4.20
kernel and followed the tldp howto:
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/IP-Masquerade-HOWTO.html

I use rp-pppoe for my DSL connection so I also included the options
found in it:
tar tzvf rp-pppoe-3.5.tgz *doc*KERNEL*

 rp-pppoe-3.5/doc/KERNEL-MODE-PPPOE

It works o.k. for me.

HTH

Shawn

> 
> Thanks to all who have replied.
> Happy Holidays!
> 
> Regards,
>Russ
> 
> On Tue, 24 Dec 2002, Russ Cook wrote:
> 
> > Thanks for the reply.  I'm still in a quandary.  I have installed
> > .deb packages for iptables and ipmasq.  I believe I have enabled
> > the appropriate kernel options (there seem to be many more options
> > in the 2.4 series kernel).  I regret to say that I am ignorant of
> > the intricacies of the iptables package, and don't have
> > documentation to read.  Is anyone willing to summarize the minimum
> > kernel options I must enable to provide ipmasq over a ppp dial-up
> > connection?  I'm stuck and still using my old 2.2 kernel.
> >
> > Thanks much,
> >Russ
> >
> > On Mon, 23 Dec 2002, Paul Johnson wrote:
> >
> > > On Sun, Dec 22, 2002 at 09:21:03AM -0600, Russ Cook wrote:
> > > > I recently took the plunge and upgraded the kernel on that
> > > > machine from 2.2.19 to 2.4.20.  Now, it no longer provides
> > > > internet access for the lan.  From the gateway's console, I can
> > > > access the internet, so ppp is working.  The machine is
> > > > accessible from the other computers, so the eth0 funtions are
> > > > working.  Can anyone help me troubleshoot this problem?
> > >
> > > Do you have iptables installed?  If you're using the ipmasq
> > > package, all you need to do is install iptables.
> > >
> > > --
> > >  .''`. Baloo <[EMAIL PROTECTED]>
> > > : :'  :proud Debian admin and user
> > > `. `'`
> > >   `-  Debian - when you have better things to do than to fix a
> > >   system
> > >
> >
> >
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 


-- 
Shawn Lamson
[EMAIL PROTECTED]
Debian GNU/Linux 3.0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: No ip-masquerade after upgrade 2.2.19 to 2.4.20

2002-12-24 Thread Russ Cook
Please disregard my previous email.  On my fifth kernel compile, I now
have ipmasquerading.  I enabled and included everything under the sun
with regard to ppp, iptables, ipchains, and ipmasquerading.  Undoubtedly,
I have a bloated kernel with features I don't need, but it works now.

I now need to educate myself on the differences between 2.4 and 2.2 with
respect to iptables/ipchains.  Is there a concise synopsis anywhere in
the Linux Documentation Project that I can reference?

Thanks to all who have replied.
Happy Holidays!

Regards,
   Russ

On Tue, 24 Dec 2002, Russ Cook wrote:

> Thanks for the reply.  I'm still in a quandary.  I have installed
> .deb packages for iptables and ipmasq.  I believe I have enabled
> the appropriate kernel options (there seem to be many more options
> in the 2.4 series kernel).  I regret to say that I am ignorant of
> the intricacies of the iptables package, and don't have documentation
> to read.  Is anyone willing to summarize the minimum kernel options
> I must enable to provide ipmasq over a ppp dial-up connection?  I'm
> stuck and still using my old 2.2 kernel.
>
> Thanks much,
>Russ
>
> On Mon, 23 Dec 2002, Paul Johnson wrote:
>
> > On Sun, Dec 22, 2002 at 09:21:03AM -0600, Russ Cook wrote:
> > > I recently took the plunge and upgraded the kernel on that machine
> > > from 2.2.19 to 2.4.20.  Now, it no longer provides internet access
> > > for the lan.  From the gateway's console, I can access the internet,
> > > so ppp is working.  The machine is accessible from the other computers,
> > > so the eth0 funtions are working.  Can anyone help me troubleshoot this
> > > problem?
> >
> > Do you have iptables installed?  If you're using the ipmasq package,
> > all you need to do is install iptables.
> >
> > --
> >  .''`. Baloo <[EMAIL PROTECTED]>
> > : :'  :proud Debian admin and user
> > `. `'`
> >   `-  Debian - when you have better things to do than to fix a system
> >
>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: No ip-masquerade after upgrade 2.2.19 to 2.4.20

2002-12-24 Thread Russ Cook
Thanks for the reply.  I'm still in a quandary.  I have installed
.deb packages for iptables and ipmasq.  I believe I have enabled
the appropriate kernel options (there seem to be many more options
in the 2.4 series kernel).  I regret to say that I am ignorant of
the intricacies of the iptables package, and don't have documentation
to read.  Is anyone willing to summarize the minimum kernel options
I must enable to provide ipmasq over a ppp dial-up connection?  I'm
stuck and still using my old 2.2 kernel.

Thanks much,
   Russ

On Mon, 23 Dec 2002, Paul Johnson wrote:

> On Sun, Dec 22, 2002 at 09:21:03AM -0600, Russ Cook wrote:
> > I recently took the plunge and upgraded the kernel on that machine
> > from 2.2.19 to 2.4.20.  Now, it no longer provides internet access
> > for the lan.  From the gateway's console, I can access the internet,
> > so ppp is working.  The machine is accessible from the other computers,
> > so the eth0 funtions are working.  Can anyone help me troubleshoot this
> > problem?
>
> Do you have iptables installed?  If you're using the ipmasq package,
> all you need to do is install iptables.
>
> --
>  .''`. Baloo <[EMAIL PROTECTED]>
> : :'  :proud Debian admin and user
> `. `'`
>   `-  Debian - when you have better things to do than to fix a system
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: No ip-masquerade after upgrade 2.2.19 to 2.4.20

2002-12-23 Thread Paul Johnson
On Sun, Dec 22, 2002 at 09:21:03AM -0600, Russ Cook wrote:
> I recently took the plunge and upgraded the kernel on that machine
> from 2.2.19 to 2.4.20.  Now, it no longer provides internet access
> for the lan.  From the gateway's console, I can access the internet,
> so ppp is working.  The machine is accessible from the other computers,
> so the eth0 funtions are working.  Can anyone help me troubleshoot this
> problem?

Do you have iptables installed?  If you're using the ipmasq package,
all you need to do is install iptables.

-- 
 .''`. Baloo <[EMAIL PROTECTED]>
: :'  :proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system



msg20811/pgp0.pgp
Description: PGP signature


Re: No ip-masquerade after upgrade 2.2.19 to 2.4.20

2002-12-22 Thread Paul Lewis
On 2002.12.22 15:21 Russ Cook wrote:

I have a home network of 5 machines running Linux (for me) and
Windows (for wife and son).  I have a masquerading gateway machine
for internet access.  I update this machine rarely, as problems
encountered affect the whole family.

I recently took the plunge and upgraded the kernel on that machine
from 2.2.19 to 2.4.20.  Now, it no longer provides internet access
for the lan.  From the gateway's console, I can access the internet,
so ppp is working.  The machine is accessible from the other
computers, so the eth0 funtions are working.  Can anyone help me
troubleshoot this problem?

In a rare moment of foresight, I kept the previous kernel and labeled
it 'safe' in lilo.conf, so I can still use that kernel, and currently
am.

Thanks much,
   Russ


One of the things that changed between 2.2 and 2.4 kernels was IP 
chains transmogrified into IPtables. Perhaps your natting scripts no 
longer work with the 2.4 kernel?

You might need to go to the netfilter site (http://www.iptables.org/) 
to get the latest version of IPtables.

 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: No ip-masquerade after upgrade 2.2.19 to 2.4.20

2002-12-22 Thread Donald Spoon
Russ Cook wrote:

I have a home network of 5 machines running Linux (for me) and
Windows (for wife and son).  I have a masquerading gateway machine
for internet access.  I update this machine rarely, as problems
encountered affect the whole family.

I recently took the plunge and upgraded the kernel on that machine
from 2.2.19 to 2.4.20.  Now, it no longer provides internet access
for the lan.  From the gateway's console, I can access the internet,
so ppp is working.  The machine is accessible from the other computers,
so the eth0 funtions are working.  Can anyone help me troubleshoot this
problem?

In a rare moment of foresight, I kept the previous kernel and labeled
it 'safe' in lilo.conf, so I can still use that kernel, and currently
am.

Thanks much,
   Russ




Russ,

I had exactly the same situation here when I did the "upgrade" from the 
2.2.x kernel to the 2.4.X kernel.  The answer lies in the shift from 
IPCAHINS (in the 2.2.X kernels) to the use of IPTABLES (in the 2.4.x 
kernels).  Your masquerading code was probably based on IPCHAINS.

Fortunately, the newer series of kernels maintained "backwards 
compatability" with IPCHAINS, in that this functionality is available as 
a module in your new kernel.  The quick-fix is to "modprobe ipchains" 
and see if masquerading is restored.  If so, then you can add this 
module to the /etc/modules file and it will come up on reboot as before.

A better solution, IMHO, is to make use of the newer IPTABLES 
capability.  While I have not tried out everything available, I have 
recently been using the "FireStarter" firewall, which will also provide 
IPMasq in addition to firewall services to your LAN.  I am a pretty 
"basic" sort, so this program was a godsend.  I managed to get it going 
in spite of my senility and lack of computer skills .  It was 
simple to configure and get going...no need to write any rule-sets. 
When you are finished it gives you a pretty good, working 
IPTABLES/NETFILTER rule-set that you can study and learn from, while 
keeping your wife & son happy... There are many other "solutions" 
available, and an equal number of opinions on why they are "better".  I 
just found Firestarter to be the quickest way to get going for me.

Cheers,
-Don Spoon-



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



No ip-masquerade after upgrade 2.2.19 to 2.4.20

2002-12-22 Thread Russ Cook
I have a home network of 5 machines running Linux (for me) and
Windows (for wife and son).  I have a masquerading gateway machine
for internet access.  I update this machine rarely, as problems
encountered affect the whole family.

I recently took the plunge and upgraded the kernel on that machine
from 2.2.19 to 2.4.20.  Now, it no longer provides internet access
for the lan.  From the gateway's console, I can access the internet,
so ppp is working.  The machine is accessible from the other computers,
so the eth0 funtions are working.  Can anyone help me troubleshoot this
problem?

In a rare moment of foresight, I kept the previous kernel and labeled
it 'safe' in lilo.conf, so I can still use that kernel, and currently
am.

Thanks much,
   Russ


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]