Top Hosting Forum

WebHosting Reviews Forum


How to use linux VPS as a proxy server

Virtual Private Server Forum and Dedicated Server Forum - Discussion on dedicated server and VPS issues
Namecheap.com - Cheap domain name registration, renewal and transfers - Free SSL Certificates - Web Hosting

Hosting Forum Description
Virtual Private Server Forum and Dedicated Server Forum - Discussion on dedicated server and VPS issues

How to use linux VPS as a proxy server

Postby hostingforum » Thu Dec 13, 2012 1:14 am

In Microsoft Windows and other operating systems, internet browsers can be set to access internet via so called proxy servers which acts as an intermediary while sending and receiving data from internet.

Here are tutorials how to setup VPS to act as a proxy server.

1
make a ssh tunnel to your vps and put that in your firefox
Code: Select all
# ssh username@server -D 12345

and put localhost:12345 in your local firefox as socks5 server.


2 (vps can be used to run Firefox on it)
running minimal Debian 6, tightvncserver, LXDE and Iceweasel 3.5 (Debian's FireFox equivalent) using less than 70mb of my 128mb Hostigation KVM server.


3 (LongShots tutorial)
Here's a page from my cookbook:

Make sure Debian is the latest and greatest

Code: Select all
apt-get update
apt-get upgrade
apt-get dist-upgrade


Install X, desktop, VNC programs
Code: Select all
apt-get install xorg lxde-core tightvncserver


Stop VNC
Code: Select all
tightvncserver -kill :1 


Edit startup file
Code: Select all
nano ~/.vnc/xstartup 


Change to
Code: Select all
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid black
lxterminal &
/usr/bin/lxsession -s LXDE &


Restart VNC
Code: Select all
tightvncserver :1


I use the "VNC Free Edition Viewer for Windows Stand-Alone Viewer" from the downloads page at: http://www.realvnc.com

Configure the viewer to access your VPS at: xxx.xxx.xxx.xxx:5901

Enjoy!


4 (Kristals way)
as i said before:

apt-get install dropbear tightvncserver xvt jwm

thats all u need, and its automatic no need to edit xresources or any other crap.

vnc + desktop = total @ 10mb RAM/ with iceweasel its less than 20mb RAM >>>>

reinstall debian 5 os, make sure its 32bit, then:

Code: Select all
apt-get install dropbear tightvncserver xvt jwm


Code: Select all
pico /etc/default/dropbear

/// change NO_START=0

Code: Select all
mv /etc/rc2.d/S16ssh /etc/rc2.d/K16ssh
/etc/init.d/ssh stop
/etc/init.d/dropbear start
apt-get --purge remove syslog-ng avahi-daemon cups dbus cron anacron rsyslog
reboot


Here u go, all bare naked debian with working vnc desktop windows manager and terminal :P


5 (mrm2005)
My Setup (128MB VPS) :
Debian Lenny + dropbear + iceweasel + tightvncserver + Blackbox

Ram usage when running iceweasel (no flash site- 1 or 2 tabs) : around 25~30MB

sometimes i use openbox instead of blackbox (both are very similar).


6



Some cheap VPS providers (under 5usd per month):
http://www.urpad.net/linux-vps.shtml
http://www.frontrangehosting.com/vps.php
https://www.bhost.net/openvz
https://ipxcore.com/cheap-vps/
https://www.prometeus.net/billing/cart.php?gid=12
https://my.securedragon.net/cart.php?gid=3
More: http://www.lowendbox.com



Ad: There You can have your forum site-wide banner/text ad for $19 monthly. Contact admin


User avatar
hostingforum
Site Admin
 
Posts: 640
Joined: Fri May 20, 2011 7:58 pm
Location: Czech Republic

Return to VPS & Dedicated Server Forum

Who is online

Users browsing this forum: No registered users and 0 guests

.

cron