Is there any way to spoof the source IP/Port of a DatagramPacket
object in Java?
Raw Socket is a term that'll help your search.
You can look at the following question: Best way to do RAW socket programming involving Java
They recommend a raw-socket wrapper, rocksaw.