We are going to use the port forwarding capability of SSH to get through the firewall of the remote machine securely
ssh -L 8080:localhost:9999 username@remote_machine
browser http://localhost:8080