[WLANware] Freifunk 1.6.29, dhcp-splash, and natting

Lorenz Schori lorenz.schori at gmx.ch
Sun Jul 27 13:12:59 CEST 2008


On Sat, 26 Jul 2008 14:06:40 +0200
"Jan Groenewald" <jan at aims.ac.za> wrote:

> Hi
> 
> Maybe I need a btter description of this problem:
> 
> How do I prevent dhcpsplash cronjobs from NATTing interfaces
> which I don't want NATTed? While still allowing those cronjobs
> to run and do their thing for dhcpsplash.
> 
> regards,
> Jan

Hi Jan

dhcpslash uses REDIRECT in favour of DNAT. If i grep through my source
tree i get the following results.

grep -r /usr/local/src/lo/freifunk/ff-devel/freifunk-dhcpsplash -e MASQ
=> no results
grep -r /usr/local/src/lo/freifunk/ff-devel/freifunk-dhcpsplash -e NAT
=> ## as of version 1.6.26 we capture http with REDIRECT instead of DNAT

It would help if you could post an excerpt of the iptables from a router
suffering this problem. like this it would be easier to track down the
origin of the superflous NAT rules.

iptables -t nat -vnL

Lorenz




More information about the WLANware mailing list