Selenium does not support this.
For these purposes, you must make a p2p connection between you and the grid. The VPN or ssh tunnel will work. Just move the remote server port to the local port:
ssh user@SERVER -L 4444:127.0.0.1:4444
4444 "SERVER". ssh, .