LinuxQuestions.org
Review your favorite Linux distribution.
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 12-01-2011, 11:42 PM   #1
jack_green
Member
 
Registered: Jul 2011
Posts: 73

Rep: Reputation: Disabled
Help!! SSH tunneling and VPN


Hello,guys. I have trouble in China now. I cannot visit facebook or youtube here. But i do have a lot of friends on facebook with my American friends . Please help me. I have heard that can using SSH tunneling or FreeVPN to let this work . I have been googled a lot but failed. could you help me get out of the bad networking here . Thanks a lot. But the way, I use RHEL5 and Windows 7 OS.
 
Old 12-02-2011, 04:22 AM   #2
lordy
LQ Newbie
 
Registered: Feb 2003
Location: Bulgaria
Distribution: debian/fedora
Posts: 11

Rep: Reputation: 0
Hi,

If you have shell access to a *nix box outside of China (for example in the states)
you can simple use it to 'tunnel'your traffic via that box (ssh socks). otherwise,
some sort of vpn connection will suffice.

SSH 'tunnel'
linux: ssh -D6666 USERNAME@HOST
w$n: putty->connection->ssh->tunnels->dynamic

after successful auth, there will be process listening
on your box on specified port (6666 in this example)

after that you simply configure your network applications
(web browser for example) to use your host as a socks proxy
on the port above)


Good luck
 
Old 12-03-2011, 07:36 PM   #3
jack_green
Member
 
Registered: Jul 2011
Posts: 73

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lordy View Post
Hi,

If you have shell access to a *nix box outside of China (for example in the states)
you can simple use it to 'tunnel'your traffic via that box (ssh socks). otherwise,
some sort of vpn connection will suffice.

SSH 'tunnel'
linux: ssh -D6666 USERNAME@HOST
w$n: putty->connection->ssh->tunnels->dynamic

after successful auth, there will be process listening
on your box on specified port (6666 in this example)

after that you simply configure your network applications
(web browser for example) to use your host as a socks proxy
on the port above)


Good luck


Thanks your reply, but i don't have *nix box . Is there a freevpn works for it ?

Last edited by jack_green; 12-03-2011 at 07:37 PM.
 
Old 12-03-2011, 10:46 PM   #4
agentbuzz
Member
 
Registered: Oct 2010
Location: Texas
Distribution: Debian, Ubuntu, CentOS, RHEL
Posts: 131

Rep: Reputation: 25
setting up VPN access with a free or paid shell account

Hello jack_green,
Though you do not have a Unix or Linux computer outside of China, you can create a free shell account and then set up your VPN tunnel from your computer to the foreign host. Here are some links to lists of free shell account providers, commercial providers, and some individual web sites that offer shell accounts. Some of them restrict outgoing network traffic from their servers, so you may have to experiment to find out what services, if any, they will proxy for you.

Lists of providers of free shell accounts:

http://shells.red-pill.eu/index.php?method=out
http://www.bylur.net/free/
http://aruljohn.com/freeshell/
http://www.dmoz.org/Computers/Intern...s/Free_Shells/
http://www.wolfotakar.com/freeshell.htm
http://freenet.am/~gevorgn/shell.htm
http://freeshellaccounts.blogspot.com/

Individual shell account providers:

http://www.shellmix.com/
http://www.cjb.net/shell.html (CJB.net routes outgoing requests from their servers through Tor, "The onion router")
http://blinkenshell.org/wiki/SSH
http://sdf.org/

This organization will proxy web traffic for free only if you are using the Lynx text-based browser:

http://www.arbornet.org/free_shell_accounts.php

The following page lists shell account providers that offer paid shell services:

http://www.dmoz.org/Computers/Intern...ell_Providers/

Good luck to you.
 
Old 12-04-2011, 11:19 AM   #5
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Rep: Reputation: 34
Have you tried Ultrasurf? It seems to bypass most restrictions.
 
Old 12-04-2011, 06:45 PM   #6
jack_green
Member
 
Registered: Jul 2011
Posts: 73

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by agentbuzz View Post
Hello jack_green,
Though you do not have a Unix or Linux computer outside of China, you can create a free shell account and then set up your VPN tunnel from your computer to the foreign host. Here are some links to lists of free shell account providers, commercial providers, and some individual web sites that offer shell accounts. Some of them restrict outgoing network traffic from their servers, so you may have to experiment to find out what services, if any, they will proxy for you.

Lists of providers of free shell accounts:

http://shells.red-pill.eu/index.php?method=out
http://www.bylur.net/free/
http://aruljohn.com/freeshell/
http://www.dmoz.org/Computers/Intern...s/Free_Shells/
http://www.wolfotakar.com/freeshell.htm
http://freenet.am/~gevorgn/shell.htm
http://freeshellaccounts.blogspot.com/

Individual shell account providers:

http://www.shellmix.com/
http://www.cjb.net/shell.html (CJB.net routes outgoing requests from their servers through Tor, "The onion router")
http://blinkenshell.org/wiki/SSH
http://sdf.org/

This organization will proxy web traffic for free only if you are using the Lynx text-based browser:

http://www.arbornet.org/free_shell_accounts.php

The following page lists shell account providers that offer paid shell services:

http://www.dmoz.org/Computers/Intern...ell_Providers/

Good luck to you.


Thanks so much, i have tried it but i don't know how . do you have tutorial for me , i am not very good at linux

Last edited by jack_green; 12-04-2011 at 07:03 PM.
 
Old 12-04-2011, 06:47 PM   #7
jack_green
Member
 
Registered: Jul 2011
Posts: 73

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gregorian View Post
Have you tried Ultrasurf? It seems to bypass most restrictions.

Thanks your reply. But it's my first time to heard Ultrasurf. I have googled it but it didnot work in China. I cannot search it in google

Last edited by jack_green; 12-04-2011 at 07:05 PM.
 
Old 12-06-2011, 09:10 AM   #8
agentbuzz
Member
 
Registered: Oct 2010
Location: Texas
Distribution: Debian, Ubuntu, CentOS, RHEL
Posts: 131

Rep: Reputation: 25
GFW circumvention

jack_green,
If you can get to this report, it may be worth reading. It's published by Freedom House. Several censorship circumvention tools are mentioned. Of from zero to five stars possible, Freenet (http://freenetproject.org/) is the only one Chinese users rate at five stars. Various others rate four stars, like Dynaweb (http://us.dongtaiwang.com/home_en.php), "Your Freedom" (http://www.your-freedom.net/), Ultra Surf (http://www.ultrareach.com/), and Freegate (http://us.dongtaiwang.com/dmirror/ht...nc.us/freegate).

http://freedomhouse.org/template.cfm?page=383&report=97

Also, you should consider using the encrypted version of Google at https://encrypted.google.com/.

Here are some other suggestions as to how you can use Google features.

Google Cache:
A user can access Google's cache servers to gather blocked content. To see the pointer to the cached content, the user needs to reach the Google search engine (so Google must not be blocked for this method to work).

Google Reader:
Google offers users the possibility to subscribe to news feeds through Google Reader, which gathers data on the user's behalf (it acts like a proxy), and lets the user read it through the Gmail web interface.

Google Translate:
Google’s translation service can be used to gather blocked content. By setting the source language to something different from what it is, and setting the target language to the actual source language.

Please note that some of the circumvention tools above make it possible for you to access content, but do not prevent your surfing attempts from being traced back to you. Read as much as you reasonably can (without risking punishment for merely reading ABOUT circumvention, never mind carrying out such circumvention), assess the risk of punishment, and do not send illegal information outside your country unless it's absolutely necessary.
 
Old 12-06-2011, 09:21 AM   #9
agentbuzz
Member
 
Registered: Oct 2010
Location: Texas
Distribution: Debian, Ubuntu, CentOS, RHEL
Posts: 131

Rep: Reputation: 25
Chinese UltraSurf site

jack_green,
Here is a Chinese-language site offering several versions of Ultra Surf:

http://www.wujieliulan.com/download.htm

You still need to get an SSH shell account with a provider that allows outbound traffic at their end of the tunnel ("ssh -D 1080 user@provider.com").
 
Old 12-06-2011, 06:54 PM   #10
jack_green
Member
 
Registered: Jul 2011
Posts: 73

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by agentbuzz View Post
jack_green,
Here is a Chinese-language site offering several versions of Ultra Surf:

http://www.wujieliulan.com/download.htm

You still need to get an SSH shell account with a provider that allows outbound traffic at their end of the tunnel ("ssh -D 1080 user@provider.com").

Thanks so much. But I cannot open this link in China
 
Old 12-06-2011, 07:50 PM   #11
jack_green
Member
 
Registered: Jul 2011
Posts: 73

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by agentbuzz View Post
jack_green,
If you can get to this report, it may be worth reading. It's published by Freedom House. Several censorship circumvention tools are mentioned. Of from zero to five stars possible, Freenet (http://freenetproject.org/) is the only one Chinese users rate at five stars. Various others rate four stars, like Dynaweb (http://us.dongtaiwang.com/home_en.php), "Your Freedom" (http://www.your-freedom.net/), Ultra Surf (http://www.ultrareach.com/), and Freegate (http://us.dongtaiwang.com/dmirror/ht...nc.us/freegate).

http://freedomhouse.org/template.cfm?page=383&report=97

Also, you should consider using the encrypted version of Google at https://encrypted.google.com/.

Here are some other suggestions as to how you can use Google features.

Google Cache:
A user can access Google's cache servers to gather blocked content. To see the pointer to the cached content, the user needs to reach the Google search engine (so Google must not be blocked for this method to work).

Google Reader:
Google offers users the possibility to subscribe to news feeds through Google Reader, which gathers data on the user's behalf (it acts like a proxy), and lets the user read it through the Gmail web interface.

Google Translate:
Google’s translation service can be used to gather blocked content. By setting the source language to something different from what it is, and setting the target language to the actual source language.

Please note that some of the circumvention tools above make it possible for you to access content, but do not prevent your surfing attempts from being traced back to you. Read as much as you reasonably can (without risking punishment for merely reading ABOUT circumvention, never mind carrying out such circumvention), assess the risk of punishment, and do not send illegal information outside your country unless it's absolutely necessary.
Thanks so much. But those websites are blocked here. And it seems that I got problem for visiting linuxquestions.org website . always timeout

Last edited by jack_green; 12-06-2011 at 08:15 PM.
 
  


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
LXer: Advanced SSH configuration and tunneling: We don't need no stinking VPN softwar LXer Syndicated Linux News 0 11-28-2007 04:00 PM
LXer: Advanced SSH configuration and tunneling: We don’t need no stinking VPN softw LXer Syndicated Linux News 0 11-28-2007 10:50 AM
HTTP Tunneling or VPN Tunneling Teomari Linux - Networking 3 04-09-2007 07:52 PM
VPN Tunneling roopunix Linux - Networking 2 01-05-2007 06:25 AM
Tunneling Inward to A VPN using ssh disinformation Linux - Software 2 12-17-2003 03:45 PM

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

All times are GMT -5. The time now is 08:09 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