All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.34 -> 3.0.23 regression?
@ 2012-03-06 21:16 Arnd Hannemann
  0 siblings, 0 replies; only message in thread
From: Arnd Hannemann @ 2012-03-06 21:16 UTC (permalink / raw)
  To: netdev

Hi,

I upgraded a router box from kernel 2.6.34 to 3.0.23.
After the upgrade my proxy redirect was not working anymore
until I manually put the LAN interface (br0) in promisc mode.

Is it expected behavior that I need to set the interface into PROMISC
mode in order to get DNAT in PREROUTING to work?
With kernel 2.6.34 this was not needed...

Details:
192.168.1.1 is a router box and default gateway for clients
  connected to 192.168.1.0/24 via br0,
  connected to internet via wlan0,
192.168.1.2 is a proxy server running squid on port 3128

Iptables rules -t nat (simplified)
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
DNAT       tcp  -- !192.168.1.2          0.0.0.0/0           tcp dpt:80 to:192.168.1.2:3128

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
SNAT       tcp  --  192.168.1.0/24       0.0.0.0/0           tcp dpt:3128 to:192.168.1.1


Best regards
Arnd

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

only message in thread, other threads:[~2012-03-06 21:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 21:16 2.6.34 -> 3.0.23 regression? Arnd Hannemann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.