Add Mosh rule for IPv4 and IPv6.