LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 06-13-2006, 12:56 AM   #1
curos
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 72

Rep: Reputation: 15
reroute traffic through linux box


My school's network only allows access to certain websites only if you're on the school's network. When I am home however, I cannot access these websites.

To solve this, I was thinking of setting up a linux box on the school's campus and rerouting my home traffic through the linux box. I'm not too sure on the terminology or how this would be accomplished.

So I was hoping for something like this:

My computer sends request to server. Server accesses the resource I wish. Sends it back to me.

So the Server acts as my window to the internet

MY COMPUTER --> SERVER --> INTERNET

And if I go to whatismyipaddress.com from my computer, it should show the ip of the server since all my internet traffic is being routed through there.

So, how would I go about doing this. Would this be setting up a proxy server? Are there any proxy server distrobutions? Or is it something else?
 
Old 06-13-2006, 06:46 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
There is more than one way to do it.
One way is to tunnel the X port.

Use any distribution that have ssh, X and a web browser (almost all distributions, including livecds).

from your home,
# ssh remotehost -R 6000:localhost:6001
... enter the password
# export DISPLAY=localhost:1
# your_browser your_site

Last edited by Agrouf; 06-13-2006 at 06:57 AM.
 
Old 06-13-2006, 09:49 AM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 69
Or, if you are daring, set up a full-blown VPN.
 
Old 06-13-2006, 09:54 AM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Another way is to ssh tunnel the http port (80).
 
  


Reply


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
routing http traffic to the correct box on subnet nodine Linux - Security 1 07-15-2004 09:51 AM
Most efficient way to tunnel all traffic to remote linux box to then be forwarded? Rims Linux - Networking 0 03-14-2004 01:49 PM
Best Logging software for Traffic through Linux RH 7.3 Box Modem dialup connection sombra_tommy Linux - Software 1 01-05-2004 12:55 PM
Reroute ports Thermos Linux - Networking 3 07-08-2003 02:06 PM
My Suse box is acting strange, hack or just traffic? skarlet Linux - Security 3 01-17-2002 03:34 PM


All times are GMT -5. The time now is 10:09 AM.

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