Linux Netfilter discussions
 help / color / mirror / Atom feed
* Converting iptables firewall from 2.4 .to 2.6 kernel
@ 2005-03-30 21:42 Frank
  0 siblings, 0 replies; only message in thread
From: Frank @ 2005-03-30 21:42 UTC (permalink / raw)
  To: netfilter

I tried upgrading a Debian stable firewall to sarge.  That part went
fine, but when I
tried upgrading the locally-built 2.4.19 kernel to 2.6.11.5 the
results were not as
expected.
   The first (and easily fixed) problem was that eth0 and eth1 were
reversed.  At
least I verified that my anti-spoofing rules worked. After swaping the
cables, the
firewall could conect to internal and external machines, internal hosts could
connect to the firewall, external hosts could connect to the firewall,
internal hosts
could send packets to exernal hosts, but packets from outside hosts to inside
hosts never crossed to the inside.
   Running tcpdump on both interfaces shows packets from outside hosts to
inside hosts hit the external interface but never appear on the
internal interface,
whether it is an initial connection from outside or a reply packet to a packet
initiated on the inside.
   I'm using the same scripts to set routes, ip_forward, rp_filter,
and proxy_arp.
The only rthing changing is the kernel (and both have iptables support built in,
not as modules).
    Did the locations of things in proc change in 2.6, or any other ideas on how
to debug this? Iptables version is now 1.2.4, it was 1.2 before.
Booting back into
the 2.4. kernel (and swapping the cables) makes it work properly, so the only
variable now is the kernel version (i.e., it all works fine with the
2.4 kernel and
all the new sarge utilities/libraries, etc.).

Thanks,
Frank


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-30 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-30 21:42 Converting iptables firewall from 2.4 .to 2.6 kernel Frank

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