How do I set up an ssh tunnel through a http proxy?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I set up an ssh tunnel through a http proxy?
My school network uses a http proxy to access the internet, but I am dubious about the security, and so I would like to use http inside ssh to keep my data secure. I don't really know where to start on this, so a step-by-step guide, or links to resources, would be helpful.
Network diagram.
My Computer - LAN - HTTP Server - Internet - My Server
Other Computers-/
Unfortunately, I believe this post violates the rules of LQ by assisting you in bypassing in place security systems. Unless a moderator comments saying it's acceptable to answer you'll likely get no responses.
As I understand it, you want a greater level of privacy (a class of security), and your school has apparently implemented a means to restrict web access (a different class of security). As rweaver pointed out, your desires may actually conflict with the school's intent to restrict how their network (their property, their rules apply) is used. Going by way of ssh to you own resources and to the web from there readily hides what you are doing from the school (effectively your ISP while on campus). I do this to hide my web surfing at home from Comcast, my home ISP (just because I don't want them to see who is actually posting all the rants about them).
Perhaps your intention may be more benign, such as intending to access your bank to do online banking (something plausibly doable at school if the school policy permits it ... which is usually allowed at the college level, though probably not at lower levels for reasons I won't go into). You should consult your school policy on what you want to do. If something like online banking is permissible, then it should be doable using an "https:" type URL. How a web proxy works with "https:" is that it makes the connection to the target "https:" site, and passes the traffic unchanged. It will be encrypted, so the proxy server admin won't be able to see the contents.
I hope that explanation helps you understand the situation better.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.