title: IPTABLES error "iptables: No chain/target/match by that name"
body: <pre><code>iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080
  </code></pre>
  
  <p>When I try to run this command, I run into the error:</p>
  
  <pre><code>iptables: No chain/target/match by that name
  </code></pre>
  
  <p>My iptables version is v1.4.14.
  Running debain on linux kernel 3.8.11.</p>
  
  <p>iptables -L outputs:</p>
  
  <pre><code>Chain INPUT (policy DROP)
  target     prot opt source               destination         
  ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
  ACCEPT     all  --  anywhere             anywhere            
  ACCEPT     icmp --  anywhere             anywhere            
  ACCEPT     udp  --  anywhere             224.0.0.251          udp dpt:mdns
  NFQUEUE    udp  --  anywhere             anywhere             NFQUEUE num 10000
  
  Chain FORWARD (policy DROP)
  target     prot opt source               destination         
  
  Chain OUTPUT (policy DROP)
  target     prot opt source               destination         
  NFQUEUE    udp  --  anywhere             239.255.255.250      udp dpt:1900 NFQUEUE num 10001
  ACCEPT     all  --  anywhere             anywhere             ctstate NEW,RELATED,ESTABLISHED
  ACCEPT     all  --  anywhere             anywhere
  </code></pre>
  
  <p>iptables -t nat -L output:</p>
  
  <pre><code>Chain PREROUTING (policy ACCEPT)
  target     prot opt source               destination         
  
  Chain INPUT (policy ACCEPT)
  target     prot opt source               destination         
  
  Chain OUTPUT (policy ACCEPT)
  target     prot opt source               destination         
  
  Chain POSTROUTING (policy ACCEPT)
  target     prot opt source               destination
  </code></pre>
  
  <p>I have no clue what the problem is, and I looked and nobody else has had this error with this setup.</p>