I’m confused about SSH and VPNs

How it can be distinguished that somebody is utilizing ssh burrow as intermediary to associating with a VPN? Does additional gear expected to put the server to DMZ? In a VPN case would a dreadful client filter a server for open ports? Additionally, where can I download free VPN software?
