Can you access your machine directly from 10.0.0.50? If so, you can set up a reverse tunnel. From 10.0.0.50:
Code:
ssh -R 10105:127.0.0.1:9990 user@homemachine
Then from your home machine you could go to localhost:10105
You could also try setting up a proxy tunnel to 10.0.0.40 so your web traffic passes through that machine. Something like:
Code:
ssh -ND10105 user@1.2.3.4
Then you could launch your browser using the tunnel as a proxy server. For google chrome that would look like:
Code:
google-chrome --proxy-server="socks://localhost:10105"
Any address you go to in that browser session will behave like you're doing it on 10.0.0.40, so you should be able to go to
http://10.0.0.50:9990 to access the page you're looking for. This is a good way to encrypt your web traffic when on an unsecured wireless network as well.