Saturday, July 25, 2015

Manual installation of Proxywise

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.

$ git clone https://github.com/darkk/redsocks.git
$ cd redsocks
$ make
$ cp redsocks /usr/local/sbin/

Post installation script should be executed after this.
Now we install 'Proxywise'

$ git clone https://github.com/anandogc/proxywise.git
$ 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.

3 comments:

Sumeet KD said...
This comment has been removed by the author.
Sumeet KD said...

Hey man I followed the rules and got stuck with this
Any ideas?

* proxywise.service - Proxywise
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)

Jul 26 18:21:28 Arch systemd[1]: [/etc/systemd/system/proxywise.service:5] Executable path is not absolute, ignoring: proxywise-service
Jul 26 18:21:28 Arch systemd[1]: proxywise.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.

Lekho said...

Bug fixed.