Ptunnel-ng is a maintained fork of the original ptunnel. It tunnels TCP connections (most commonly SSH) through ICMP echo request/reply packets via a proxy host, allowing traffic to pass through firewalls that permit outbound ping but block other protocols.
Runs the proxy on an operator-controlled host, forwarding incoming ICMP-tunneled connections to the given destination and port (for example an SSH server on the compromised network).
sudo ptunnel-ng -r<DESTINATION_IP> -R<DESTINATION_PORT>
Client side. Opens a local TCP listener that is tunneled over ICMP to the proxy, which forwards it to the destination host and port.
sudo ptunnel-ng -p<PROXY_IP> -l<LOCAL_PORT> -r<DESTINATION_IP> -R<DESTINATION_PORT>