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
?
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
?
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