[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kmod and NAT broken in 2.4.1?



I built a 2.4.1 kernel from the debianized source, and have noticed a
couple of problems:

1) kmod shows no signs of working, though I did compile with this
option on.  modprobe is able to load the necessary modules.

2) iptables NAT facility doesn't seem to work.  I have a line
iptables -t nat -A POSTROUTING -s 192.168.10.0/24 -o eth1 -j SNAT
--to-source x.y.z.q
where eth1 is connected to my DSL (static IP) and x.y.z.q is the
address assigned me.  When I trace a ping to x.y.z.1 from a local
machine (running NT 4) it looks as if traffic on my router machine
flows from eth0 (local subnet) to eth1 and then back to eth1, but
that's the end of it.  ping works from the router machine.

By the way, if anyone has any suggestions for how to trace and
diagnose routing problems--in particular to get the history of a
single interaction--I'm all ears.  I've been mixing counting traffic
on the adapters with -j LOG statements in the iptables.

I figure this is likely my misunderstanding rather than bugs, so I
thought I'd appeal for some wisdom.  Thanks.

By the way, my return address may not be valid, but the cc should be.



Reply to: