I need help creating a rule to do the following:

Forward my ftp traffic to my virtual machine
I have eth0 as the main IP, and virb0 as a bridge to
the vm at a private ip. Any idea how to forward
ftp traffic to my servers address to the vm?


Server -
Bridge -
Vm -

so will get the ftp data from


Something like this might work:

iptables -t nat -A PREROUTING -p tcp -d --destination-port 21 -j DNAT --to-destination

This should forward port 21 pointed at and direct it to