Daniel Khan wrote:
> 
> Hello List,
> 
> I have a Problem with NAT on RedHat 7.3/iptables v1.2.5.
>
> So I use exactly the syntax from the HOWTO's:
> 
> iptables -A OUTPUT -t nat -p tcp --dport 3306 -j DNAT --to 10.1.0.212:3306

I just copied and pasted this line to my machine and it works fine here.
However, according to the man-page, I would try the following:

iptables -A OUTPUT -t nat -p tcp -m tcp --dport 3306 \
  -j DNAT --to-destination 10.1.0.212:3306

HTH

- Karl

Reply via email to