tor + ssl

Server:

Enable ssh server

Setup Tor server, and listen on 127.0.0.1:9050

Setup Privoxy Daemon with following rule:

Listen on:  localhost: 8118

forward-socks5    /    127.0.0.1:9050

 

Windows Client

Bitvise:   ssh login to the server,   with following C2S config

enable  127.0.0.1:8118    localhost 8118

Firefox:   http proxy= 127.0.0.1:8118

https proxy=127.0.0.1 8118

 

 

P.S
Build on Server

git clone https://git.torproject.org/tor.git

sudo apt-get clean
sudo apt-get update
sudo apt-get install autogen
sudo apt-get install automake
sudo apt-get install libssl-dev
sudo apt-get install libevent-dev

cd tor
./configure –disable-asciidoc
make
sudo make install

sudo apt-get install privoxy
sudo echo forward-socks5 / 127.0.0.1:9050 >>/etc/privoxy/config

 

Launch on Server

#/bin/bash

sudo tor &

sudo /etc/init.d/privoxy start