I had another problem (totally unrelated) between Norton 360, and SSH over to WSL from outside-internet, when the Windows Ethernet is set to public.
However; I stumbled upon this post dozens of times while I was researching, I felt I have to reply.
Your problem is setting both ports (Local and Remote at the same time) to 22, that is causing the filter to never see the connection in the first place therefore the rule itself is never applied.
For Context:
When you initiate an SSH connection from client side (in your case its the Windows with Norton on it)
To: a Server Side (In your case its Ubuntu on VM)
Ubuntu runs (sshd) deamon (similar to windows services) which create a TCP listener on port 22 at the Ubuntu size.
Notice here that SSH only runs on TCP, unlike Remote Desktop Protocol, SSH doesn’t come near UDP.
The Host (Linux) receiving the connection runs sshd deamon and opens a listener on port 22.
However the client side (your windows) is initiating (assuming you use Putty) SSH call from a randomly created port, assigned at the time you connect (through Putty for example), and that randomly created port is the local port in your case, no way on earth it would be 22.
The problem with Norton Internet Security, it’s like any Firewall, can filter based on both sides of the connection. while the port number is predetermined on one side of the connection (the listener side), the port number on the caller side though, is random most of the time.
If Ubuntu-VM was setup on another Machine, then in your case you have to set remote port to 22, and keep local port empty.
but if Ubuntu VM is running on the same machine and you stll can’t connect to it, then there’s big chance that Norton is blocking the Virtual Switch created by the Windows Hyper-Visor, and that’s completely different beast.