<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - What am I doing wrong!?"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1397">1397</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>What am I doing wrong!?
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>nftables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>nft
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pablo@netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tad1073@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>code snippet

table inet nat {
    chain prerouting {
        type nat hook prerouting priority dstnat; policy accept;
        fib saddr . iif oif 0 counter drop
        fib saddr . iif oif "lo" counter accept
        fib saddr . iif oif "$inet_if" counter accept
        fib daddr . iif type { local, broadcast, multicast } counter accept
        ip daddr 10.0.0.11 tcp dport 80 dnat to 8080
        ip daddr 10.0.0.11 udp dport 80 dnat to 8080
        ip daddr 10.0.0.11 tcp dport 80 redirect to 8080
        ip daddr 10.0.0.11 udp dport 80 redirect to 8080        
        ip6 daddr 2601:c3:8000:6680::11 tcp dport 80 dnat to 8080
        ip6 daddr 2601:c3:8000:6680::11 udp dport 80 dnat to 8080
        ip6 daddr 2601:c3:8000:6680::11 tcp dport 80 redirect to 8080
        ip6 daddr 2601:c3:8000:6680::11 udp dport 80 redirect to 8080
        counter accept
    }


$ sudo nft -c -f nat.nft
nat.nft:14:56-59: Error: Could not resolve hostname: Address family for
hostname not supported
        ip6 daddr 2601:c3:8000:6680::11 tcp dport 80 dnat to 8080
                                                             ^^^^</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>