Post Reply 
How to use your vps as proxy, with ssh tunnel (tutorial)
06-09-2012, 01:14 AM
Post: #11
RE: How to use your vps as proxy, with ssh tunnel (tutorial)
This is excellent! I wish I knew this before my school unblocked YouTube.

Cody_Maverak

Thank You For My VPS 3!

[Image: 2583668015.png]
User Tools
Quote this message in a reply


06-09-2012, 02:29 AM (This post was last modified: 06-09-2012 02:30 AM by sahil.)
Post: #12
RE: How to use your vps as proxy, with ssh tunnel (tutorial)
Hey Fednenix, I tried your trick and it works, but it do not affect the internet speed, thank you for this but it is only works on mozila firefox, i want to get my ip on sa-mp server ( I want to use my vps server as proxy on my sa-mp server ( San Andreas Multiplayer ), can you help me?

Visit My Blog!: sahilsharmapresents.blogspot.com
Thanks to http://pyramidserver.com/ and https://freevps.us for free vps
Vote Bourne for next administrator!
User Tools
Quote this message in a reply
06-09-2012, 02:32 AM (This post was last modified: 06-09-2012 02:35 AM by Nevil.)
Post: #13
RE: How to use your vps as proxy, with ssh tunnel (tutorial)
Try j7proxy:
http://code.google.com/p/j7proxy/

How will it help you though when you connect from your VPS over your normal connection? It will not lower your ping or make anything better, it will make it worse than before because of the location between you and the VPS. VPS - you - VPS again will end up with a high ping.
User Tools
Quote this message in a reply
06-09-2012, 03:23 AM
Post: #14
RE: How to use your vps as proxy, with ssh tunnel (tutorial)
Say good bye to blocks and filters! This will definitely come in handy.
User Tools
Quote this message in a reply
06-09-2012, 04:55 AM
Post: #15
RE: How to use your vps as proxy, with ssh tunnel (tutorial)
(06-08-2012 10:10 PM)Nevil Wrote:  Without a proxy, VPN or a tunnel you reach this speed rates without a problem and of course you can't exceed them. With a proxy that uses X forwarding you can only reach this rates when the speed of the server Internet connection is enough but normal requests are proceeded way slower than without a proxy or with a VPN or SSH tunnel, and once again you can't exceed the speed you got assigned from your ISP. A VPN or a SSH tunnel allows you to reach the rates aswell when the Internet connection speed of the server is enough but normal requests are proceeded faster as there is nothing that reads them before sending them to the final site, and as before you can't exceed the speed rates.

You are either confused as to what X-forwarding is or you using some bad terminology. X-forwarding isn't really related to proxies.

X-forwarding basically just forwards the X-protocol through a network, so the final result is rendered on the client and all the processing etc is done on the host. Generally its done through a SSH connection, but it can be done over any kind of network connection. The reason why it is slower is because it has a lot more overhead. It has to send button clicks, shape primitives, etc over the connection, which can take a significant amount of bandwidth. VNC is an arguably better altnerative which uses compression and simple jpgs/pngs so it has less overhead and uses less bandwidth. Though there are situations where is isn't (as with everything)

There is the possibly that a SSH tunnel can be "faster" than your local connection. Nevil is correct that it can't it be faster than the raw bandwidth speed of your local connection, that is the upper limit. However, if your local isp or work internet or whatever connection is employing traffic shaping, then an encrypted connection (such as an ssh tunnel or VPN) can get around that. Resulting in a faster overall speed for traffic that would be shaped otherwise.

There is also the possibility that the connection between your local connection and the server is poor, but it has a very good connection to the other side of your tunnel. If you have a good connection to the tunnel, you can have a significant speed increase. However, this isn't too common. It does happen though.

(06-08-2012 11:54 PM)Robert1995 Wrote:  This method is awesome, because there's no real way to stop it on a school network. My college has tried to stop my class from doing this, but all they do is blacklist the putty executable. Simply copy the original putty file, and change the name in ResourceHacker and it works again.

Actually it is possible to prevent ssh connections through Deep packet inspection and/or packet-shaping, and of course simply blocking ports. To properly differentiate ssh from a simple ssl connection (i.e. https), generally pretty expensive equipment is required though (AFAIK), so it largely isn't done. I assume the network admins onyour school network require the use of ssh connections, so they don't block it.
User Tools
Quote this message in a reply
06-09-2012, 12:02 PM
Post: #16
RE: How to use your vps as proxy, with ssh tunnel (tutorial)
(06-09-2012 02:29 AM)sahil Wrote:  
Hey Fednenix, I tried your trick and it works, but it do not affect the internet speed, thank you for this but it is only works on mozila firefox, i want to get my ip on sa-mp server ( I want to use my vps server as proxy on my sa-mp server ( San Andreas Multiplayer ), can you help me?

actually, as i said before, you can use it on google chrome as well.
User Tools
Quote this message in a reply
06-09-2012, 03:08 PM (This post was last modified: 06-09-2012 03:16 PM by Desperado.)
Post: #17
RE: How to use your vps as proxy, with ssh tunnel (tutorial)
@Nevil Smile

(06-09-2012 04:55 AM)f8ll Wrote:  There is the possibly that a SSH tunnel can be "faster" than your local connection. Nevil is correct that it can't it be faster than the raw bandwidth speed of your local connection, that is the upper limit. However, if your local isp or work internet or whatever connection is employing traffic shaping, then an encrypted connection (such as an ssh tunnel or VPN) can get around that. Resulting in a faster overall speed for traffic that would be shaped otherwise.

There is also the possibility that the connection between your local connection and the server is poor, but it has a very good connection to the other side of your tunnel. If you have a good connection to the tunnel, you can have a significant speed increase. However, this isn't too common. It does happen though.

thankyou for the explanation, f8ll Smile
but i've found some cases in Indonesia because i've live in here for several years. they can increasing the speed almost 5x and it is weird. alot of them using GSM USB modem as their stuff and they are using a kind of tunnelier method to do that. i'm not really sure how they doing it but it is real.
as the example, a normal speed for GSM SIM card internet access by USB modem in Indonesia is around 20-30 KBps, but when they use this "trick" they can reach almost 150 KBps. here's some of their screenshots:

Spoiler: show
[Image: 1ad06fda93.jpg]

Spoiler: show
[Image: 9af8d8d5fa.jpg]

Thanks FreeVPS and Hostigation for the free VPS!
In the Beginning... Was the Command Line
User Tools
Quote this message in a reply
06-09-2012, 11:38 PM
Post: #18
RE: How to use your vps as proxy, with ssh tunnel (tutorial)
@f8ll

Yes, they have tried to block the port that SSH uses. The blacklist all ports, except those whitelisted. Ports 80, 443 are open for business. I used this port program that searched for open ports, and it looks like they've left port 5900 open. This is something to do with mail for outlook programs. Nothing else uses it, and outlook isn't used at college anyway.

[Image: robcollins.png]

/$ Currently: Studying Software Development at College.
User Tools
Quote this message in a reply
06-10-2012, 12:32 AM
Post: #19
RE: How to use your vps as proxy, with ssh tunnel (tutorial)
(06-09-2012 02:29 AM)sahil Wrote:  
Hey Fadnincx, I tried your trick and it works, but it do not affect the internet speed, thank you for this but it is only works on mozila firefox, i want to get my ip on sa-mp server ( I want to use my vps server as proxy on my sa-mp server ( San Andreas Multiplayer ), can you help me?
Hi, I don't have San Andreas... But you can set the proxy in the Windows system settings...

I have Windows 7
- > Open Systemsettings
- > Network and Internet
- > Networkoptions
- > In Tab "Connection"
- > LAN-Settings
- > Advanced
- > Not choose for all Protokoll the same server
- > clear http
- > clear secure
- > clear ftp
- > in socks write your server data
- > Click on OK

For me now the server is system wide set.

Maybe you must set your server also in http, ft and secure. But at me it doesn't function with set.

I hope you finde a solution.

[Image: fvps.php]
User Tools
Quote this message in a reply
08-16-2012, 06:56 PM
Post: #20
RE: How to use your vps as proxy, with ssh tunnel (tutorial)
in a most case, vps provider does not allow something like tun.ko, which is need by vpn, so you can use this tutorial

post with Fedora 18 since 2013-02-06
SMS me +1 936-337-4971
User Tools
Quote this message in a reply
Post Reply 


Forum Jump:



User(s) browsing this thread:
1 Guest(s)