I want to do and MITM setup where I intercept commands like ping and traceroute over the network and send a fake reply to these commands.
Is it possible to intercept traffic like this on vpns like openvpn and also send your own custom packets in reply? How do I achieve this?
Our devices don't support ip addresses but the client wants standard ip commands to work on devices. So we need to simulate those commands by our background services using our own protocol.
It is an rf network. So does not support pings. We can implement pings through rest apis but want to support seamlessly support commands based out put as well. Please suggest if it is possible at all or not?