1.17.1 downloads everything needed to run a 1.17.1 server, it just has a different structure because of the change from Java 8 to Java 16 requiring advanced runtime arguments, which are handled by the provided run scripts
The jars were moved out of the root and into folders because they will not function correctly without the proper arguments, and the dev team didn't want users ignorantly clicking the jars and complaining they didn't work
As for the servewr discovery issue I don't know enough about your chosen VPN to comment