Linux Netfilter discussions
 help / color / mirror / Atom feed
* kernel2.6.2-3 + iptables/shorewall
@ 2004-02-19 14:48 Richard Bown
  2004-02-19 15:01 ` Alexis
  2004-02-19 15:07 ` Tom Eastep
  0 siblings, 2 replies; 7+ messages in thread
From: Richard Bown @ 2004-02-19 14:48 UTC (permalink / raw)
  To: 'netfilter'

Hi
having a real headach with this
Running kernel-2.6.2-3mdk patched for win4lin
iptables 1.2.9-5mdk
shorewall 1.4.8-3mdk
modules loaded are :-
ipt_TOS 2240 0 - Live 0xe197f000
ipt_REJECT 6464 0 - Live 0xe198e000
ipt_LOG 5312 0 - Live 0xe198b000
ipt_state 1728 2 - Live 0xe1985000
ipt_multiport 1856 0 - Live 0xe1983000
ipt_conntrack 2304 0 - Live 0xe1981000
iptable_filter 2624 1 - Live 0xe1932000
iptable_mangle 2624 0 - Live 0xe18d2000
iptable_nat 23116 1 ipt_MASQUERADE, Live 0xe18c3000
ip_conntrack 31120 4 ipt_MASQUERADE,ipt_state,ipt_conntrack,iptable_nat,
Live 0xe1963000
ip_tables 16704 10
ipt_MASQUERADE,ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter,iptable_mangle,iptable_nat, Live 0xe1952000


now in the 2.4 series kernels if I remember right you could turn /off
IPV4 forwarding, I hav'nt found this at all in the config file on a
2.6.2 kernel.
So as you guys are more at the iptables end, is anyone successfully
getting MASQ,& DNAT functional with a 2.6.2 kernel, and maybe on a
mandrake system :)

Thanks
Richard
-- 
Richard Bown <richard.bown@blueyonder.co.uk>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: kernel2.6.2-3 + iptables/shorewall
  2004-02-19 14:48 kernel2.6.2-3 + iptables/shorewall Richard Bown
@ 2004-02-19 15:01 ` Alexis
  2004-02-19 15:10   ` Richard Bown
  2004-02-19 15:22   ` Tom Eastep
  2004-02-19 15:07 ` Tom Eastep
  1 sibling, 2 replies; 7+ messages in thread
From: Alexis @ 2004-02-19 15:01 UTC (permalink / raw)
  To: Richard Bown; +Cc: 'netfilter'

Yes, i have at least 4 firewalls running SNAT and DNAT with 2.6.2 and
iptables 1.2.9 without any problem. (using redhat 8,9 or debian)



IP forwarding could be enabled and disabled at

/proc/sys/net/ipv4/ip_forward if this is your question



On Thu, 2004-02-19 at 11:48, Richard Bown wrote:
> Hi
> having a real headach with this
> Running kernel-2.6.2-3mdk patched for win4lin
> iptables 1.2.9-5mdk
> shorewall 1.4.8-3mdk
> modules loaded are :-
> ipt_TOS 2240 0 - Live 0xe197f000
> ipt_REJECT 6464 0 - Live 0xe198e000
> ipt_LOG 5312 0 - Live 0xe198b000
> ipt_state 1728 2 - Live 0xe1985000
> ipt_multiport 1856 0 - Live 0xe1983000
> ipt_conntrack 2304 0 - Live 0xe1981000
> iptable_filter 2624 1 - Live 0xe1932000
> iptable_mangle 2624 0 - Live 0xe18d2000
> iptable_nat 23116 1 ipt_MASQUERADE, Live 0xe18c3000
> ip_conntrack 31120 4 ipt_MASQUERADE,ipt_state,ipt_conntrack,iptable_nat,
> Live 0xe1963000
> ip_tables 16704 10
> ipt_MASQUERADE,ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter,iptable_mangle,iptable_nat, Live 0xe1952000
> 
> 
> now in the 2.4 series kernels if I remember right you could turn /off
> IPV4 forwarding, I hav'nt found this at all in the config file on a
> 2.6.2 kernel.
> So as you guys are more at the iptables end, is anyone successfully
> getting MASQ,& DNAT functional with a 2.6.2 kernel, and maybe on a
> mandrake system :)
> 
> Thanks
> Richard
-- 
Alexis <alexis@attla.net.ar>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: kernel2.6.2-3 + iptables/shorewall
  2004-02-19 14:48 kernel2.6.2-3 + iptables/shorewall Richard Bown
  2004-02-19 15:01 ` Alexis
@ 2004-02-19 15:07 ` Tom Eastep
  2004-02-19 15:29   ` Tom Eastep
  1 sibling, 1 reply; 7+ messages in thread
From: Tom Eastep @ 2004-02-19 15:07 UTC (permalink / raw)
  To: Richard Bown, 'netfilter'

On Thursday 19 February 2004 06:48 am, Richard Bown wrote:
> Hi
> having a real headach with this
> Running kernel-2.6.2-3mdk patched for win4lin
> iptables 1.2.9-5mdk
> shorewall 1.4.8-3mdk
> modules loaded are :-
> ipt_TOS 2240 0 - Live 0xe197f000
> ipt_REJECT 6464 0 - Live 0xe198e000
> ipt_LOG 5312 0 - Live 0xe198b000
> ipt_state 1728 2 - Live 0xe1985000
> ipt_multiport 1856 0 - Live 0xe1983000
> ipt_conntrack 2304 0 - Live 0xe1981000
> iptable_filter 2624 1 - Live 0xe1932000
> iptable_mangle 2624 0 - Live 0xe18d2000
> iptable_nat 23116 1 ipt_MASQUERADE, Live 0xe18c3000
> ip_conntrack 31120 4 ipt_MASQUERADE,ipt_state,ipt_conntrack,iptable_nat,
> Live 0xe1963000
> ip_tables 16704 10
> ipt_MASQUERADE,ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_connt
>rack,iptable_filter,iptable_mangle,iptable_nat, Live 0xe1952000
>
>
> now in the 2.4 series kernels if I remember right you could turn /off
> IPV4 forwarding, I hav'nt found this at all in the config file on a
> 2.6.2 kernel.
> So as you guys are more at the iptables end, is anyone successfully
> getting MASQ,& DNAT functional with a 2.6.2 kernel, and maybe on a
> mandrake system :)

As I announced the other day, I am able to run 2.6.2 with a fairly complex 
setup (http://www.shorewall.net/myfiles2.htm) without problems. That is under 
Debian Sarge (although the first 2.6.2 kernel that I successfully tested was 
built on a Mandrake 9.0 box).

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ teastep@shorewall.net




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: kernel2.6.2-3 + iptables/shorewall
  2004-02-19 15:01 ` Alexis
@ 2004-02-19 15:10   ` Richard Bown
  2004-02-19 15:21     ` Alexis
  2004-02-19 15:22   ` Tom Eastep
  1 sibling, 1 reply; 7+ messages in thread
From: Richard Bown @ 2004-02-19 15:10 UTC (permalink / raw)
  To: Alexis; +Cc: 'netfilter'

Thanks Alexis


On Thu, 2004-02-19 at 15:01, Alexis wrote:
> Yes, i have at least 4 firewalls running SNAT and DNAT with 2.6.2 and
> iptables 1.2.9 without any problem. (using redhat 8,9 or debian)
Are you masquerading as well ?
> 
> 
I'm getting suspicious this could be a mandrake thing, as the lib
iptables is split in to two sections , vanilla and mandrake depending on
whether a 2.4 or 2.6 kernel is used a sym link points at the libs. 
> 
> IP forwarding could be enabled and disabled at
> 
> /proc/sys/net/ipv4/ip_forward if this is your question

this is set to 1, so enabled
> 

Richard
> 
> 
> On Thu, 2004-02-19 at 11:48, Richard Bown wrote:
> > Hi
> > having a real headach with this
> > Running kernel-2.6.2-3mdk patched for win4lin
> > iptables 1.2.9-5mdk
> > shorewall 1.4.8-3mdk
> > modules loaded are :-
> > ipt_TOS 2240 0 - Live 0xe197f000
> > ipt_REJECT 6464 0 - Live 0xe198e000
> > ipt_LOG 5312 0 - Live 0xe198b000
> > ipt_state 1728 2 - Live 0xe1985000
> > ipt_multiport 1856 0 - Live 0xe1983000
> > ipt_conntrack 2304 0 - Live 0xe1981000
> > iptable_filter 2624 1 - Live 0xe1932000
> > iptable_mangle 2624 0 - Live 0xe18d2000
> > iptable_nat 23116 1 ipt_MASQUERADE, Live 0xe18c3000
> > ip_conntrack 31120 4 ipt_MASQUERADE,ipt_state,ipt_conntrack,iptable_nat,
> > Live 0xe1963000
> > ip_tables 16704 10
> > ipt_MASQUERADE,ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter,iptable_mangle,iptable_nat, Live 0xe1952000
> > 
> > 
> > now in the 2.4 series kernels if I remember right you could turn /off
> > IPV4 forwarding, I hav'nt found this at all in the config file on a
> > 2.6.2 kernel.
> > So as you guys are more at the iptables end, is anyone successfully
> > getting MASQ,& DNAT functional with a 2.6.2 kernel, and maybe on a
> > mandrake system :)
> > 
> > Thanks
> > Richard
-- 
Richard Bown <richard.bown@blueyonder.co.uk>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: kernel2.6.2-3 + iptables/shorewall
  2004-02-19 15:10   ` Richard Bown
@ 2004-02-19 15:21     ` Alexis
  0 siblings, 0 replies; 7+ messages in thread
From: Alexis @ 2004-02-19 15:21 UTC (permalink / raw)
  To: Richard Bown; +Cc: 'netfilter'

On Thu, 2004-02-19 at 12:10, Richard Bown wrote:
> Thanks Alexis
> 
> 
> On Thu, 2004-02-19 at 15:01, Alexis wrote:
> > Yes, i have at least 4 firewalls running SNAT and DNAT with 2.6.2 and
> > iptables 1.2.9 without any problem. (using redhat 8,9 or debian)
> Are you masquerading as well ?

No, i dont because all are fixed ip pools that the provideres give me
 
> I'm getting suspicious this could be a mandrake thing, as the lib
> iptables is split in to two sections , vanilla and mandrake depending on
> whether a 2.4 or 2.6 kernel is used a sym link points at the libs.

I dont know mandrake ive never used, my choice is always the same,
debian.
But some customers asks for redhat so "the customer is always right" :)




> > IP forwarding could be enabled and disabled at
> > 
> > /proc/sys/net/ipv4/ip_forward if this is your question
> 
> this is set to 1, so enabled

yes it is, wich is the policy for the FORWARD chain?



> Richard
> > 
> > 
> > On Thu, 2004-02-19 at 11:48, Richard Bown wrote:
> > > Hi
> > > having a real headach with this
> > > Running kernel-2.6.2-3mdk patched for win4lin
> > > iptables 1.2.9-5mdk
> > > shorewall 1.4.8-3mdk
> > > modules loaded are :-
> > > ipt_TOS 2240 0 - Live 0xe197f000
> > > ipt_REJECT 6464 0 - Live 0xe198e000
> > > ipt_LOG 5312 0 - Live 0xe198b000
> > > ipt_state 1728 2 - Live 0xe1985000
> > > ipt_multiport 1856 0 - Live 0xe1983000
> > > ipt_conntrack 2304 0 - Live 0xe1981000
> > > iptable_filter 2624 1 - Live 0xe1932000
> > > iptable_mangle 2624 0 - Live 0xe18d2000
> > > iptable_nat 23116 1 ipt_MASQUERADE, Live 0xe18c3000
> > > ip_conntrack 31120 4 ipt_MASQUERADE,ipt_state,ipt_conntrack,iptable_nat,
> > > Live 0xe1963000
> > > ip_tables 16704 10
> > > ipt_MASQUERADE,ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter,iptable_mangle,iptable_nat, Live 0xe1952000
> > > 
> > > 
> > > now in the 2.4 series kernels if I remember right you could turn /off
> > > IPV4 forwarding, I hav'nt found this at all in the config file on a
> > > 2.6.2 kernel.
> > > So as you guys are more at the iptables end, is anyone successfully
> > > getting MASQ,& DNAT functional with a 2.6.2 kernel, and maybe on a
> > > mandrake system :)
> > > 
> > > Thanks
> > > Richard
-- 
Alexis <alexis@attla.net.ar>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: kernel2.6.2-3 + iptables/shorewall
  2004-02-19 15:01 ` Alexis
  2004-02-19 15:10   ` Richard Bown
@ 2004-02-19 15:22   ` Tom Eastep
  1 sibling, 0 replies; 7+ messages in thread
From: Tom Eastep @ 2004-02-19 15:22 UTC (permalink / raw)
  To: Alexis, Richard Bown; +Cc: 'netfilter'

On Thursday 19 February 2004 07:01 am, Alexis wrote:
> Yes, i have at least 4 firewalls running SNAT and DNAT with 2.6.2 and
> iptables 1.2.9 without any problem. (using redhat 8,9 or debian)
>
>
>
> IP forwarding could be enabled and disabled at
>
> /proc/sys/net/ipv4/ip_forward if this is your question
>

Which in turn is controlled by IP_FORWARDING in shorewall.conf.

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ teastep@shorewall.net




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: kernel2.6.2-3 + iptables/shorewall
  2004-02-19 15:07 ` Tom Eastep
@ 2004-02-19 15:29   ` Tom Eastep
  0 siblings, 0 replies; 7+ messages in thread
From: Tom Eastep @ 2004-02-19 15:29 UTC (permalink / raw)
  To: Richard Bown, 'netfilter'

On Thursday 19 February 2004 07:07 am, Tom Eastep wrote:
> On Thursday 19 February 2004 06:48 am, Richard Bown wrote:
> 
> (although the first 2.6.2 kernel that I successfully
> tested was built on a Mandrake 9.0 box).

Correction -- it's running Drake 9.2.

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ teastep@shorewall.net




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-02-19 15:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19 14:48 kernel2.6.2-3 + iptables/shorewall Richard Bown
2004-02-19 15:01 ` Alexis
2004-02-19 15:10   ` Richard Bown
2004-02-19 15:21     ` Alexis
2004-02-19 15:22   ` Tom Eastep
2004-02-19 15:07 ` Tom Eastep
2004-02-19 15:29   ` Tom Eastep

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox