LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-27-2018, 01:36 PM   #1
MurderousMincePie
LQ Newbie
 
Registered: Feb 2016
Posts: 8

Rep: Reputation: Disabled
Question How do I setup a remote server that I can use as a SOCKS tunnel?


I am a volunteer computer technician at in a local community building. Our Internet connection comes directly from the school that is connected to our building. The school has Smoothwall installed on one of their Cisco servers and almost every website is blocked. Even ntp is blocked, if the clock on one of our systems is out of sync we have to set it manually.

My laymen understanding is that all traffic is transmitted over an encrypted tunnel via SSH. As I understand it, the remote server is functionally similar to a Tor exit node.

Are there any decent tutorials out there explaining the process? For a test run, I'd like to setup a system whereby I proxy to my home network. Since I'm not familiar with SSH I've run a couple of searches but the tutorials I've seen online don't clearly explain what I need to setup on the remote server side. They only explain what I need to setup to connect to the remote server.
 
Old 01-29-2018, 12:28 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,257
Blog Entries: 3

Rep: Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713Reputation: 3713
I'd look into pricing for independent connectivity for your organization in your part of the building. Depending on the options in your part of the country, you might be able to find something affordable. Some 3G/4G modem service might be available without a cap and that can be plugged into your group's router and moved where it is needed.

Alternately, what can be done about getting the school to fix their badly misconfigured filters? What kind of level of service agreement do you have with them?

About the tunnel question, OpenSSH's client can make a SOCKS proxy, look at the -D option in the manual page.
Code:
ssh -l pie -D 4558 outside.example.com
That would set up SOCKS5 tunnel to the outside via outside.example.com. You'd connect to it via port 4558 on localhost. Not all applications support SOCKS however. For some of the others, you might be able to use the utility proxychains.
 
  


Reply

Tags
firewall, socks, socks5, ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh tunnel and socks proxy error: empty reply from server shams Linux - Networking 1 11-12-2013 08:21 PM
Bind Failover IPs to users over SSH (using SOCKS) Tunnel SonicFire Linux - Networking 3 12-13-2011 07:54 AM
[SOLVED] YUM via SSH SOCKs tunnel. hen770 Linux - Software 1 12-03-2010 07:37 AM
Server setup using Ubuntu for SSH account hosting for socks proxy? rdawgjigga Linux - Server 1 03-21-2010 08:30 PM
Linux Socks Server to Tunnel WoW btaylor1988 Linux - Server 3 08-05-2008 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration