[Bug 1105] masquerade fully broken when no prerouting chain is created

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Fri Mar 15 20:01:27 CET 2019


https://bugzilla.netfilter.org/show_bug.cgi?id=1105

Florian Westphal <fw at strlen.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fw at strlen.de
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Florian Westphal <fw at strlen.de> ---
(In reply to Fabian Franz from comment #0)
> When no prerouting hook is created, the packets will be able to pass though
> the machine outside but the answers will not be redirected to the original
> source.
> 
> So if I ping from a lxc container to an IP like 8.8.8.8 the packet will pass
> with the source IP of the host but the answers are not forwarded back.
> 
> Creating an empty prerouting chain with its hook solved the issue.

This is fixed with kernel 4.18 via
commit 9971a514ed2697e542f3984a6162eac54bb1da98
netfilter: nf_nat: add nat type hooks to nat core

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20190315/a9492d92/attachment.html>


More information about the netfilter-buglog mailing list