Early minecraft versions

The tunnel works for my minecraft server thats up to date for the current version, but I recently have been trying to make a beta minecraft server and it’s been giving me “Internal Exception: java.net.SocketException: Connection reset” as soon as I try to connect to my tunnel. Does it support older versions of minecraft or is the problem elsewhere?