im using command like this :
iptables -t nat -A PREROUTING -p tcp -d 192.168.1.118 --dport 4080 -j DNAT --to-destination 192.168.1.118:4088
My question what is command to look all rules in the selected chain. I'm using iptables -L but it doesn't display anything. But, that's command is successfull to redirect.
1 Answer
iptables -L -t natuse the table name with -t
2