<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:fw@strlen.de" title="Florian Westphal <fw@strlen.de>"> <span class="fn">Florian Westphal</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - masquerade fully broken when no prerouting chain is created"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1105">bug 1105</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>fw@strlen.de
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - masquerade fully broken when no prerouting chain is created"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1105#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - masquerade fully broken when no prerouting chain is created"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1105">bug 1105</a>
              from <span class="vcard"><a class="email" href="mailto:fw@strlen.de" title="Florian Westphal <fw@strlen.de>"> <span class="fn">Florian Westphal</span></a>
</span></b>
        <pre>(In reply to Fabian Franz from <a href="show_bug.cgi?id=1105#c0">comment #0</a>)
<span class="quote">> 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.</span >

This is fixed with kernel 4.18 via
commit 9971a514ed2697e542f3984a6162eac54bb1da98
netfilter: nf_nat: add nat type hooks to nat core</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>