This works on gentoo
This scripts sets proxy system wide.
User is now redsocks.
Almost new proxy settings.
These scripts are working. But setting up the thing system wide.
We'll use this version.
This works on my gentoo machine as well as one ubuntu.
Silly me.
Merge pull request #3 from dilawar/master

It will work on any linux distribution.