libxt_cpu.man 499 B

123456789101112131415
  1. .TP
  2. [\fB!\fP] \fB\-\-cpu\fP \fInumber\fP
  3. Match cpu handling this packet. cpus are numbered from 0 to NR_CPUS-1
  4. Can be used in combination with RPS (Remote Packet Steering) or
  5. multiqueue NICs to spread network traffic on different queues.
  6. .PP
  7. Example:
  8. .PP
  9. iptables \-t nat \-A PREROUTING \-p tcp \-\-dport 80 \-m cpu \-\-cpu 0
  10. \-j REDIRECT \-\-to\-port 8080
  11. .PP
  12. iptables \-t nat \-A PREROUTING \-p tcp \-\-dport 80 \-m cpu \-\-cpu 1
  13. \-j REDIRECT \-\-to\-port 8081
  14. .PP
  15. Available since Linux 2.6.36.