Re: Fw: [Bug 39132] Starting with 3.0.0-rc6, masquerading seems to be broken.
flat view
From: Julian Anastasov <ja@ssi.bg>
Date: 2011-08-05 15:15:15
Hello, On Fri, 5 Aug 2011, David Hill wrote:
I'm not using TPROXY and I've used a blank firewall with only masquerading and reproduced the issue. Nothing is in NAT/mangle nor OUTPUT but the rules mentionned in the attached files to this bug. Francis Whittle (Comment #18) has the same issue.
I compiled 3.0 kernel, added one -j MASQUERADE and tried TCP connection - it works. I'm not sure ip_route_me_harder is called for masqueraded traffic, usually it is called from LOCAL_OUT handlers or to send TCP RST (-j REJECT) via LOCAL_OUT, not for forwarded traffic. Can you show lines of tcpdump output with addresses and ports, so that I can understand what kind of traffic is dropped, is it initial forwarded packet or its response, is it problem with some ICMP packets, I assume there is no problem with locally generated traffic. Can you show output from: # grep . /proc/sys/net/ipv4/conf/*/rp_filter # grep . /proc/sys/net/ipv4/conf/*/send_redirects If it works with -rc5 it should not be rp_filter, for NAT, problem can be with ICMP redirects or something else. Can you tell us if the internal and external devices are same or may be many. Regards -- Julian Anastasov [off-list ref]