Tunneling as Proxy

We've just recently deployed some security measures that disallow access to our servers from any IP outside our office. I work from home alot so this is a a big pain for me. We have one gateway server that isn't under the restriction that I can SSH into and from there I can SSH into any server in the office. The only probem is that I need to be able to tunnel my web browsing and winSCP client through the same connection. Right now all I can think to do is use putty to double ssh my way though. The server is a redhat server and is running current software, I am trying to access SSH, SCP, and HTTP services from my windows laptop via the gateway server. I can install any software I might need on any of the computers. Anyone have a good solution in mind?
techdoc6Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

techdoc6Author Commented:
So i went through the putty setup and forwarded my local port 80 to the gateway servers port 80. I then tried to go to whatismyip.com to see if my external IP had changed but It hadn't. I then tried to configure the proxy settings for firefox, specifying 127.0.0.1 as the proxy server on port 80, which just killed my internet connection. any ideas on what I'm doing wrong or what I have to do in firefox to get my external IP to change?
0
ravenplCommented:
Asuuming the first link, You should set forwarding like

L81 thedestination.ip:80

then in FF http://localhost:81/
0
INTRODUCING: WatchGuard's New MFA Solution

WatchGuard is proud to announce the launch of AuthPoint, a powerful, yet simple, Cloud-based MFA service designed to eliminate the vulnerabilities that put your data, systems, and users at risk.

techdoc6Author Commented:
It just says "unable to connect" when I try it that way. What page(localhost:81) is that supposed to bring up? Where can i specify a destination address such as www.whatismyip.com or say, the IP of my plesk control panel?
0
ravenplCommented:
> What page(localhost:81) is that supposed to bring up?
thedestination.ip:80

Do the port forwarding tab looked like?
L81 ip.of.plesk.control.panel:80

Next, it's possible, that server denies port forwarding :( Please verify.
0
techdoc6Author Commented:
L81 ip.of.plesk.control.panel:8443

When I entered this in I navigated to http://localhost:81 and got my plesk login page. When i try to login however, I get the same access denied message indicating that my IP address is disallowed (not the office IP i'm trying to emulate)
0
ravenplCommented:
Looks like plesk is redirecting to full domain (changes Your localhost:81 to realname:80).
If You runned linux, You could redirect realname:80 to localhost:81 with iptables. I don't know how to manage this under windows.
0
techdoc6Author Commented:
wouldn't that be an endless loop?
0
ravenplCommented:
No, if You would redirect it on local firewall stage, no.

Oh, one more thing to work it around, edit c:\windows\system32\drivers\etc\hosts and add there following line

127.0.0.1 the.real.name.that.appears.in.the.addressbar

And change the forwarding rule to
L8443 ip.of.plesk.control.panel:8443

And access with http://localhost:8443/
0
techdoc6Author Commented:
cool, now I've got my HTTP traffic tunneled, any idea how I can tunnel my winSSH client?
0
ravenplCommented:
Yes, add next port forwarding
L22 remote.ip:22

and again, connect to localhost rather than remote with ssh/scp/winscp etc.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
techdoc6Author Commented:
Awesome, works like a charm. Thanks for the help raven.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.