kernel2.6.2-3 + iptables/shorewall
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 0xe197f000ipt_REJECT 6464 0 - Live 0xe198e000ipt_LOG 5312 0 - Live 0xe198b000ipt_state 1728 2 - Live 0xe1985000ipt_multiport 1856 0 - Live 0xe1983000ipt_conntrack 2304 0 - Live 0xe1981000iptable_filter 2624 1 - Live 0xe1932000iptable_mangle 2624 0 - Live 0xe18d2000iptable_nat 23116 1 ipt_MASQUERADE, Live 0xe18c3000ip_conntrack 31120 4 ipt_MASQUERADE,ipt_state,ipt_conntrack,iptable_nat,
Live 0xe1963000ip_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
Signature · 1 line
Richard Bown <[email protected]>
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
Quoted 30 lines · Richard Bown
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_TOS2240 0 - Live0xe197f000ipt_REJECT6464 0 - Live0xe198e000ipt_LOG5312 0 - Live0xe198b000ipt_state1728 2 - Live0xe1985000ipt_multiport1856 0 - Live0xe1983000ipt_conntrack2304 0 - Live0xe1981000iptable_filter2624 1 - Live0xe1932000iptable_mangle2624 0 - Live0xe18d2000iptable_nat23116 1ipt_MASQUERADE, Live0xe18c3000ip_conntrack31120 4 ipt_MASQUERADE,ipt_state,ipt_conntrack,iptable_nat,
Live0xe1963000ip_tables16704 10 ipt_MASQUERADE,ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter,iptable_mangle,iptable_nat, Live0xe1952000now 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
Signature · 1 line
Alexis <[email protected]>
Quoted 22 lines · Richard Bown
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_TOS2240 0 - Live0xe197f000ipt_REJECT6464 0 - Live0xe198e000ipt_LOG5312 0 - Live0xe198b000ipt_state1728 2 - Live0xe1985000ipt_multiport1856 0 - Live0xe1983000ipt_conntrack2304 0 - Live0xe1981000iptable_filter2624 1 - Live0xe1932000iptable_mangle2624 0 - Live0xe18d2000iptable_nat23116 1ipt_MASQUERADE, Live0xe18c3000ip_conntrack31120 4 ipt_MASQUERADE,ipt_state,ipt_conntrack,iptable_nat, Live0xe1963000ip_tables16704 10 ipt_MASQUERADE,ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_connt rack,iptable_filter,iptable_mangle,iptable_nat, Live0xe1952000
Quoted 6 lines
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
Signature · 3 lines
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [email protected]
Thanks Alexis
Quoted 2 lines · Alexis
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 ?
Quoted 2 lines
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.
Quoted 4 lines
IP forwarding could be enabled and disabled at
/proc/sys/net/ipv4/ip_forwardif this is your question
this is set to 1, so enabled
Quoted 1 line
Richard
Quoted 33 lines · Richard Bown
Quoted 30 lines
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_TOS2240 0 - Live0xe197f000ipt_REJECT6464 0 - Live0xe198e000ipt_LOG5312 0 - Live0xe198b000ipt_state1728 2 - Live0xe1985000ipt_multiport1856 0 - Live0xe1983000ipt_conntrack2304 0 - Live0xe1981000iptable_filter2624 1 - Live0xe1932000iptable_mangle2624 0 - Live0xe18d2000iptable_nat23116 1ipt_MASQUERADE, Live0xe18c3000ip_conntrack31120 4 ipt_MASQUERADE,ipt_state,ipt_conntrack,iptable_nat,
Live0xe1963000ip_tables16704 10 ipt_MASQUERADE,ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter,iptable_mangle,iptable_nat, Live0xe1952000now 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
Signature · 1 line
Richard Bown <[email protected]>
Quoted 7 lines · Richard Bown
Thanks Alexis
Quoted 2 lines · Alexis
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
Quoted 3 lines
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" :)
Quoted 5 lines
Quoted 3 lines
IP forwarding could be enabled and disabled at
/proc/sys/net/ipv4/ip_forwardif this is your questionthis is set to 1, so enabled
yes it is, wich is the policy for the FORWARD chain?
Quoted 34 lines
Richard
Quoted 33 lines · Richard Bown
Quoted 30 lines
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_TOS2240 0 - Live0xe197f000ipt_REJECT6464 0 - Live0xe198e000ipt_LOG5312 0 - Live0xe198b000ipt_state1728 2 - Live0xe1985000ipt_multiport1856 0 - Live0xe1983000ipt_conntrack2304 0 - Live0xe1981000iptable_filter2624 1 - Live0xe1932000iptable_mangle2624 0 - Live0xe18d2000iptable_nat23116 1ipt_MASQUERADE, Live0xe18c3000ip_conntrack31120 4 ipt_MASQUERADE,ipt_state,ipt_conntrack,iptable_nat,
Live0xe1963000ip_tables16704 10 ipt_MASQUERADE,ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter,iptable_mangle,iptable_nat, Live0xe1952000now 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
Signature · 1 line
Alexis <[email protected]>
Quoted 9 lines · Alexis
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_forwardif this is your question
Which in turn is controlled by IP_FORWARDING in shorewall.conf.
-Tom
Signature · 3 lines
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [email protected]
Quoted 4 lines · Tom Eastep
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
Signature · 3 lines
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [email protected]