Hello,
I have a question I want to redirect traffic from port x and y to 53.
I mean like this
iptables -t nat -A PREROUTING -p udp --dport 53 -m string --algo bm --from 20 --hex-string "|0276f726d62657743e657401077500|" -j REDIRECT --to-ports x, y, z
So Destination port should be 53
Thanks!
I have a question I want to redirect traffic from port x and y to 53.
I mean like this
iptables -t nat -A PREROUTING -p udp --dport 53 -m string --algo bm --from 20 --hex-string "|0276f726d62657743e657401077500|" -j REDIRECT --to-ports x, y, z
So Destination port should be 53
Thanks!