Redirect traffic to multiple destinations

gugu

New member
XNullUser
Joined
Sep 14, 2022
Messages
2
Reaction score
0
Points
1
NullCash
6
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!
 
Top