Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
Essentially I want to set up a VPN. There is a lot of information online, which tends to get vague when I need hard details.
So, this is what I want to do.
On my remote computer I want to tunnel to my server, which then transfers to the internet - I'm only interested in http traffic here. In other words, on my browser, on the remote machine, if I attempt to connect to linuxquestions.org, this will be transferred to my server which will transfer the information. In the same way as a 'proper' VPN, the request will appear to have come from the server. I think many of the examples out there are of secure connections to the server itself, and not onwards to the net. I don't just want to connect to a single site - another common example out there, but to have total freedom.
One complication, I would prefer to connect to port 3128, rather than port 80, in order to use the squid cache.
Some articles suggest local tunneling and others dynamic.
(Shrug ...) What I'd do, instead, is to just "set up a VPN."
Yes, you can tunnel using ssh. But then, you always have to "think about it." Always have to make sure that what you're sending is really going through that tunnel. Always have to be sure that your apps know how to do it, and that they do "do it" properly.
With VPN, you have none of these concerns: certain ranges of IP-addresses and port-numbers go through the tunnel, automagically. You can forget that the tunnel is there.
Last edited by sundialsvcs; 03-03-2015 at 07:41 AM.
Then you have to go into your browser's proxy settings. In Firefox, you'd bullet "Manual proxy configuration", for "SOCKS Host", you'd type "localhost", port 8080, and bullet SOCKS v5. You can send your DNS queries through the tunnel, as well, by using the instruction in this article. She also has instructions in that article for tunneling to a squid.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.