LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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

Closed Thread
 
Search this Thread
Old 12-22-2011, 11:32 AM   #1
mahkoe
LQ Newbie
 
Registered: Oct 2011
Posts: 25

Rep: Reputation: Disabled
ssh port forwarding to get around websense


The title explains a lot. I have linux installed on my USB (I just can't use windows anymore) so that I can use it at school. The other day I read an article where a man used port forwarding to get around hotel firewalls blocking his email. I was wondering first of all if I can use this to get around websense (that pain-in-the-*ss government web blocker at school that blocks pretty much all useful sites) by port forwarding through my laptop, and secondly, since this is important in this situation, how to ssh to my laptop from any computer with an internet connection (still can't get this to work, I think it's because I haven't configured openssh properly).

Okay then, so yeah, thanks
 
Old 12-24-2011, 02:03 PM   #2
bmarx
Member
 
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202

Rep: Reputation: 34
It sounds like you have 2 separate problems that you want to resolve, with one depending on the other:

1. Be able to connect to your laptop from a remote location through the internet.
2. Use ssh tunneling to send web traffic through your laptop to bypass any restrictions from your current location

To solve issue 1, you will probably want to be able to connect to your home computer without having to remember a (probably dynamic) ip address, you can use one of the free dynamic dns services such as dyndns.com or no-ip.com. Your home router may already have the capability to update these services automatically when your home ip address changes. Then enable either a dmz to your ssh server or specify port forwarding for the ssh service.

To solve issue 2, set up an ssh tunnel, then set up your web browser to use the ssh tunnel. Here is a tutorial for how to do that: http://parabing.com/2011/04/01/ssh-t...e-web-surfing/

Note that the remote location that you are trying to connect from may very well block port 22 as well. You can modify the ssh server running from your home server to use a port that is not blocked (probably port 80).
 
Old 12-24-2011, 03:28 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Evading your school's firewall could be harmful to your schools network, and as such violates rule #14. This thread is being closed.
 
  


Closed Thread

Tags
remote login, ssh forwarding, ssh remote, web


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
Port number used by server when using dynamic port forwarding in SSH? kreeder Linux - Networking 4 11-21-2011 03:07 PM
port forwarding with ssh lothario Linux - Networking 1 06-19-2010 09:47 PM
ssh port forwarding simpl Linux - Software 3 07-20-2006 02:41 AM
SSH Port Forwarding wwnexc Linux - Networking 4 09-29-2005 02:26 AM
Port forwarding for ssh Adriaan Linux - Networking 1 03-08-2004 10:11 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration