If I'm understanding your question correctly, the way to do this is to connect via the external IP instead of the internal IP that presumably routes thru the tunnel. But then you'd have to allow ssh connections thru the WAN interface, which seems like a bad idea. Why don't you want ssh connections to go thru the tunnel?