there are one UDP client(192.168.206.45) and one UDP server (192.168.212.21) connection
I want to use DNAT rule to redirect UDP packets from one server (192.168.212.21) to another server (192.168.215.46) "immediately" after I command like :
iptables -t nat -A PREROUTING -d 192.168.212.21 -j DNAT --to-destination 192.168.215.46
Question :
Rarely it works to redirect packets immediately. Does the DNAT rule work timely ? Because the DNAT rules normally works only after the UDP connection reboot.
How can I fix the problem to redirect UDP packets timely?
thanks for your reading.