Proxywise uses redsocks to do all the magic. Hence the first step is to install 'redsocks'.
Download from https://github.com/darkk/redsocks (Arch linux users may use 'yaourt' to install/remove 'redsocks-git' and skip to 'Proxywise' installation)
'redsocks' requires on 'libevent' source files to compile.
Post installation script should be executed after this.
Now we install 'Proxywise'
The post-install (postinst), pre-install (preinst), and pre-removal (prerm) scripts are there in proxywise/debian folder. 'postinst' must be executed after performing the above task.
If one wants to install it else where, '/etc/init/proxywise.conf' and '/etc/systemd/system/proxywise.service' must be modified appropriately.
Hurray !!. Its done.
Download from https://github.com/darkk/redsocks (Arch linux users may use 'yaourt' to install/remove 'redsocks-git' and skip to 'Proxywise' installation)
'redsocks' requires on 'libevent' source files to compile.
$ git clone https://github.com/darkk/redsocks.git
$ cd redsocks
$ make
$ cp redsocks /usr/local/sbin/
$ cd redsocks
$ make
$ cp redsocks /usr/local/sbin/
Post installation script should be executed after this.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################## | |
# post installation script # | |
############################## | |
sudo useradd --system --shell /bin/false --home-dir /var/run/redsocks \ | |
--no-create-home --user-group redsocks | |
############################## | |
######################## | |
# pre-removal script # | |
######################## | |
##If your system used 'systemd' to manage services use | |
sudo systemctl disable redsocks | |
sudo systemctl stop redsocks | |
##If your system used 'upstart' to manage services use | |
sudo service redsocks stop | |
######################## | |
######################### | |
# post-removal script # | |
######################### | |
sudo userdel redsocks | |
sudo groupdel redsocks | |
######################### |
$ git clone https://github.com/anandogc/proxywise.git
$ cd proxywise
$ sudo cp -r etc /
$ sudo cp -r usr /
$ cd proxywise
$ sudo cp -r etc /
$ sudo cp -r usr /
The post-install (postinst), pre-install (preinst), and pre-removal (prerm) scripts are there in proxywise/debian folder. 'postinst' must be executed after performing the above task.
If one wants to install it else where, '/etc/init/proxywise.conf' and '/etc/systemd/system/proxywise.service' must be modified appropriately.
Hurray !!. Its done.