title: tproxy configure with connbytes
body: <p>I have a transparent proxy.<br>
  I want to redirect a <code>rdp</code> connection to local process, but from 3rd packet. that means I want to pass first and second packet and from <strong>3rd packet until end</strong> redirect packets to local process.<br>
  I use code below to configure my tproxy.<br>
  But it does not work and no packets pass and no packets go to local process(50082).<br>
  Could you please help me? I don't know my mistake.  </p>
  
  <pre><code>${ip} rule add fwmark 1 lookup 100
  ${ip} route add local 0.0.0.0/0 dev lo table 100
  
  ${iptables} -t mangle -N DIVERT
  ${iptables} -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
  ${iptables} -t mangle -A DIVERT -j MARK --set-mark 1
  ${iptables} -t mangle -A DIVERT -j ACCEPT
  
  ${iptables} -t mangle -A PREROUTING -p tcp --dport 3389 -m connbytes --connbytes 3: --connbytes-dir both --connbytes-mode packets -j TPROXY --tproxy-mark 0x1/0x1 --on-port 50082  
  
  ${iptables} -t mangle -A PREROUTING -p tcp --dport 3389 -m connbytes --connbytes 1:3 --connbytes-dir both --connbytes-mode packets  -j ACCEPT
  </code></pre>