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