Hi , I'm new to iptables , and I need to redirect all incoming traffic to port 21 in my localhost which contains of string "abcdefgh" to another server at port 21
Is this correct ?
Quote:
iptables -t nat -A PREROUTING -p tcp --dport 21 -m string --string "abcdefgh" -j DNAT --to-destination <ipaddress:21>
|
THank you
