9 Jan
2002
9 Jan
'02
13:02
On Wednesday, 9. January 2002 13:53, OKDesign oHG Security Administrator wrote:
"iptables -t nat -A PREROUTING -i <ext_IF_of_firewall> -d <ip_of_firewall> --dport <desired_port> -j DNAT --to-destination <ip_of internal_machine>"
Thank you for your hint, but the command-line you told doesn't work. The system keeps complaining (unknowg arg --dport). I also tried out the long version --destination-port with the same result. I looked at the manpage and found that iptables should know this argument, so there seems to be a syntax error. Anyone has an idea what is wrong and how the correct syntax is ?
The protocol is missing. No [TCP|UDP], no ports. HTH Bjoern