Hi Brian,

> One more thing , Do you have ipchains turn off?
Yes...

> I would try this:
>
> Ipchains -L, should say kernel does not support ipchains
>
> Iptables -L
>
> Iptables -P INPUT DROP , check to see if you can do simple things like
> this
ipchains -h -->
the iptables is working fine, I can ACCEPT, DROP, QUEUE, REJECT.....

> I would now re-load iptables or upgrade to a later version, grab it from
> rpmfind.net, use the .rpm it work better.
That's all very well, but the version of iptables I have at the moment is
1.2.6a, and if I get the rpm, the most recent for RedHat is 1.2.5, and it
doesn't include the h323 module, so that wouldn't help me.

Please, I need to get this working!!!  I have tried everything I can think
of.  I tried downloading the kernel 2.4.18 along with the newnat patch from
here ->http://www.roeder.goe.net/~koepi/#3._Linux_kernel_2.4.14_Newnat5_Suit
e
and applied the patch, which then compiled fine, including the h323 module,
but when I try to apply the rule:

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE, it get:
iptables: Invalid Arguement.

HELP!!!

Thanks

Andy


Mr Andrew Larkum
High Speed Networks Group
Dept. Electronic and Electrical Engineering
Loughborough University
Leics.
LE11 3TU

Tel: 01509 22 70 79
Fax: 01509 22 70 14
http://www.lboro.ac.uk/departments/el/research/hsn/
----- Original Message -----
From: "Brian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "'Andrew Larkum'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 18, 2002 2:06 AM
Subject: RE: MASQUERADING


> I would try this:
>
> Ipchains -L, should say kernel does not support ipchains
>
> Iptables -L
>
> Iptables -P INPUT DROP , check to see if you can do simple things like
> this
>
> -----Original Message-----
> From: Brian [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 6:04 PM
> To: [EMAIL PROTECTED]; 'Andrew Larkum'
> Cc: [EMAIL PROTECTED]
> Subject: RE: MASQUERADING
>
> One more thing , Do you have ipchains turn off?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Brian
> Sent: Wednesday, April 17, 2002 5:59 PM
> To: 'Andrew Larkum'
> Cc: [EMAIL PROTECTED]
> Subject: RE: MASQUERADING
>
> I would now re-load iptables or upgrade to a later version, grab it from
> rpmfind.net, use the .rpm it work better.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Andrew Larkum
> Sent: Wednesday, April 17, 2002 5:52 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: MASQUERADING
>
> change...
> actually now have all of those modules loaded, and still get the invalid
> arguement.
>
> grrr
>
> Andy
>
> Mr Andrew Larkum
> High Speed Networks Group
> Dept. Electronic and Electrical Engineering
> Loughborough University
> Leics.
> LE11 3TU
>
> Tel: 01509 22 70 79
> Fax: 01509 22 70 14
> http://www.lboro.ac.uk/departments/el/research/hsn/
> ----- Original Message -----
> From: "Brian" <[EMAIL PROTECTED]>
> To: "'Andrew Larkum'" <[EMAIL PROTECTED]>
> Sent: Wednesday, April 17, 2002 2:57 PM
> Subject: RE: MASQUERADING
>
>
> > Did you load these first:
> >
> >
> > modprobe ip_conntrack
> > modprobe ip_tables
> > modprobe iptable_filter
> > modprobe iptable_mangle
> > modprobe iptable_nat
> > modprobe ipt_LOG
> > modprobe ipt_REJECT
> > modprobe ipt_MASQUERADE
> > modprobe ip_conntrack_ftp
> > modprobe ipt_owner
> > modprobe ip_conntrack_irc
> >
> >
> > echo 1 > /proc/sys/net/ipv4/ip_forward
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]] On Behalf Of Andrew Larkum
> > Sent: Wednesday, April 17, 2002 3:53 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: MASQUERADING
> >
> > Hi Robert!
> >
> > I have managed to compile the kernel with all the patches I need (at
> > least I
> > seem to have).  However, not when I try to add the iptables rule:
> >
> > iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> >
> > I get :
> >
> > iptables: Invalid Arguement
> >
> > I've tried adding --to-ports, -p udp etc, and can't get it working :(
> >
> > Any ideas?
> >
> > Andy
> >
> > Mr Andrew Larkum
> > High Speed Networks Group
> > Dept. Electronic and Electrical Engineering
> > Loughborough University
> > Leics.
> > LE11 3TU
> >
> > Tel: 01509 22 70 79
> > Fax: 01509 22 70 14
> > http://www.lboro.ac.uk/departments/el/research/hsn/
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: "Andrew Larkum" <[EMAIL PROTECTED]>
> > Sent: Wednesday, April 17, 2002 10:35 AM
> > Subject: Re: MASQUERADING
> >
> >
> > > if you have still more problem , i tared the whole kernel, iptables
> > stuff,
> > > and a how to
> > > but its a big download 320 mb
> > > let me here if you have a need to
> > > how is the weather in england g?
> > > greetz from munich germany
> > > ----- Original Message -----
> > > From: "Andrew Larkum" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, April 17, 2002 11:13 AM
> > > Subject: Re: MASQUERADING
> > >
> > >
> > > > Thanks!
> > > >
> > > > ANdy
> > > >
> > > > Mr Andrew Larkum
> > > > High Speed Networks Group
> > > > Dept. Electronic and Electrical Engineering
> > > > Loughborough University
> > > > Leics.
> > > > LE11 3TU
> > > >
> > > > Tel: 01509 22 70 79
> > > > Fax: 01509 22 70 14
> > > > http://www.lboro.ac.uk/departments/el/research/hsn/
> > > > ----- Original Message -----
> > > > From: <[EMAIL PROTECTED]>
> > > > To: "Andrew Larkum" <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, April 17, 2002 9:14 AM
> > > > Subject: Re: MASQUERADING
> > > >
> > > >
> > > > > try this
> > > > > http://www.roeder.goe.net/~koepi/
> > > > > should work too
> > > > > regards
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Andrew Larkum" <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Wednesday, April 17, 2002 10:03 AM
> > > > > Subject: Re: MASQUERADING
> > > > >
> > > > >
> > > > > > Hi Again,
> > > > > >
> > > > > > > you have to submit all base pom patches before, then go to
> > extra
> > and
> > > > > > submit
> > > > > > > helper and h323 stuff
> > > > > >
> > > > > > ok, but how exactly.  I'm (obviously!) not too good at this
> yet.
> > I
> > > > tried
> > > > > > any number of combinations to try and make this work.  I once
> > managed
> > > to
> > > > > get
> > > > > > it so that I could select the H323 module in my kernel
> config.,
> > but
> > > then
> > > > > the
> > > > > > make modules failed!
> > > > > >
> > > > > > Please, could someone with understanding and deep compassion
> > help me
> > > out
> > > > > > with step-by-step instructions on this.
> > > > > >
> > > > > > Thanks :)
> > > > > >
> > > > > > Andy
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: <[EMAIL PROTECTED]>
> > > > > > To: "Andrew Larkum" <[EMAIL PROTECTED]>
> > > > > > Sent: Tuesday, April 16, 2002 2:39 PM
> > > > > > Subject: Re: MASQUERADING
> > > > > >
> > > > > >
> > > > > > > you have to submit all base pom patches before, then go to
> > extra
> > and
> > > > > > submit
> > > > > > > helper and h323 stuff
> > > > > > > regards
> > > > > > > ----- Original Message -----
> > > > > > > From: "Andrew Larkum" <[EMAIL PROTECTED]>
> > > > > > > To: <[EMAIL PROTECTED]>
> > > > > > > Sent: Tuesday, April 16, 2002 3:29 PM
> > > > > > > Subject: MASQUERADING
> > > > > > >
> > > > > > >
> > > > > > > > ok, so further to my previous mail...
> > > > > > > >
> > > > > > > > I did a cvs update on iptables-1.2.6a.  I did a make
> > > > pending-patches,
> > > > > > but
> > > > > > > > when it gets to 0-newnat13.patch, it fals the test and
> won't
> > > patch.
> > > > > > > >
> > > > > > > > PLEASE can somebody tell me what I'm doing wrong.  This is
> > driving
> > > > me
> > > > > > mad.
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > >
> > > > > > > > Andy
> > > > > > > >
> > > > > > > > Mr Andrew Larkum
> > > > > > > > High Speed Networks Group
> > > > > > > > Dept. Electronic and Electrical Engineering
> > > > > > > > Loughborough University
> > > > > > > > Leics.
> > > > > > > > LE11 3TU
> > > > > > > >
> > > > > > > > Tel: 01509 22 70 79
> > > > > > > > Fax: 01509 22 70 14
> > > > > > > > http://www.lboro.ac.uk/departments/el/research/hsn/
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
> >
> >
>
>
>
>
>


Reply via email to