LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-18-2008, 09:34 PM   #1
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Rep: Reputation: 30
Setup Possible with SSH?


This question is in regards to SSH and the possiblity of setting up a SSH tunnel home for unmonitored browsing purposes.
Our company has proxies using Websense that are extremely restrictive and don't allow us to do a lot of "research". We have a single machine (linuxbox.company) that basically allows us to SSH out to boxes on the Internet. I have a box at home homebox@dyndns.org that I can establish a SSH connection to that allows me to browse on my home internet. Can the following diagram be done?

Here is the nework layout

My desktop.company ----------SSH tunnel---------------->linuxbox.company---------SSH tunnel-------------->homebox.dyndns.org

Now that an SSH session is esablished can I foward port 80 back to work to linuxbox.internal and from there foward a connection back to my desktop.company? Would linuxbox.company have port 80 open somehow that desktop.company needs to connect to somewhat like a proxy? I think this is possible with port fowarding using SSH but I just want to get confirmation from someone with SSH experience before I attempt this. It will somewhat of a VPN from my desktop at work to the box that is allowed to connect to SSH boxes on the internet to my home linux box.

My desktop.company<--------SSH tunnel (80)---------------->linuxbox.company<----------SSH tunnel (80)-------------->homebox.dyndns.org




Please let me know if the diagram is confusing.

Thanks

Last edited by keysorsoze; 05-18-2008 at 09:36 PM.
 
Old 05-18-2008, 10:34 PM   #2
javaroast
Member
 
Registered: Apr 2005
Posts: 131

Rep: Reputation: 19
OpenSSH has built-in support to act as a SOCKS proxy. That should get you started. You'll have to experiment a bit based on your internal architecture.
 
Old 05-19-2008, 07:18 PM   #3
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Original Poster
Rep: Reputation: 30
Thank you javaroast, I'll do some research on socks.
 
  


Reply



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
how to setup domain via SSH File.am Linux - Newbie 1 06-06-2007 08:16 AM
Trying to setup up SSH ice1000 Linux - Networking 8 02-23-2005 09:17 PM
Setup SSH? zigmund555 Slackware 2 02-13-2004 01:06 PM
SSH Setup Gramo Linux - General 3 07-15-2003 07:06 PM
How to setup SSH... Graanco Linux - Newbie 2 06-10-2001 04:03 PM

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

All times are GMT -5. The time now is 04:05 PM.

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