2
1
From home I would like to browse my intranet at work where I have a Linux box, which I will call "W", i.e. W.workdomain.com.
My router at home closes port 22 but maps port 2222 to port 22 on my server "S" which resolves to mydomain.org.
My main machine at home, "M", is where I do my work from home. I thought this might work:
W: $ ssh -g -D 6666 -p 2222 mylogin@mydomain.org
On M I tell firefox that S:6666 is the proxy for all sites like *.workdomain.com.
So far my browser on M cannot find the intranet web sites with this scheme.
How do I make this work? What can I use to debug this?
Note: I asked this on serverfault where it was off-topic. Hopefully this is on-topic here.
You should clarify the sentence "So far my browser on M cannot find the intranet web sites with this scheme," to indicate whether they cannot find the sites (in which case look at DNS issues) or cannot ping the sites (by IP address) (in which case, look to network issues.) – Michael McNally – 2013-02-02T04:15:07.400
I think if you "tell firefox" about a proxy it is expecting an HTTP proxy server. I don't think you have that. You probably want an SSH tunnel, and you might have to add a static route to home. – Keith – 2013-02-02T05:52:23.690
2Why don't you ask whoever manages your network to help you with this? Most system administrators I know would be none too happy if someone decided to set up their own VPN/Reverse Proxy/SSH tunnel into their network. – ta.speot.is – 2013-02-02T09:11:11.950
^ that. Your office might have a relatively trouble free, official, and approved VPN system you might be able to use. – Journeyman Geek – 2013-02-02T09:52:42.767