1# test divert-reply with udp with out and in packet 2# create a divert-reply out rule on the remote machine 3# client sends a UDP packet from the remote machine 4# server reflects the UDP packet at the local machine 5# client receives the UDP packet at the remote machine 6 7use strict; 8use warnings; 9use Socket; 10 11our %args = ( 12 protocol => "udp", 13 client => { func => \&write_read_datagram }, 14 server => { func => \&read_write_datagram }, 15 divert => "reply", 16); 17