1

How can I route an incoming udp packet with iptables that matches a pattern like:

53 41 4D 50 5B 79 95 DB 61 1E 69

from public interface (vmbr0) and port 7777 to 192.168.0.1:7777?

Gizmo
  • 289
  • 2
  • 11

1 Answers1

0

You can achieve this using iptables u32 module. See: http://www.stearns.org/doc/iptables-u32.current.html and TCP packet filter based on TCP sequence

Marco
  • 435
  • 1
  • 3
  • 16
  • Please do not just post links - they might get obsoleted over time. It is fine to post links as "further reading", but make sure to include the complete concept, ideally backed with an example, in your answer. – the-wabbit Nov 25 '14 at 12:41
  • could you also provide an example for my case? I am pretty new to linux environments and I don't want to break things – Gizmo Nov 25 '14 at 13:49