after some research found that file /etc/conf.d/redsocks must be created, containing
REDSOCKS_CONF=/etc/redsocks.conf
Search Criteria
Package Details: redsocks-git 0.1.r43.g2e3f648-1
Package Actions
| Package Base: | redsocks-git |
|---|---|
| Description: | Transparent redirector of any TCP connection to proxy using your firewall |
| Upstream URL: | http://darkk.net.ru/redsocks/ |
| Category: | network |
| Licenses: | |
| Submitter: | fluffylime |
| Maintainer: | mortzu |
| Last Packager: | None |
| Votes: | 11 |
| First Submitted: | 2010-10-13 19:24 |
| Last Updated: | 2014-05-06 10:00 |
Dependencies (1)
Required by (0)
Sources
- redsocks-git
- redsocks.conf
- redsocks.rules
- redsocks.tmpfiles
Latest Comments
Comment by shashilx
Comment by shashilx
[root@shashilx ~]# systemctl start redsocks
Job for redsocks.service failed. See "systemctl status redsocks.service" and "journalctl -xe" for details.
ноя 18 00:32:40 shashilx.com systemd[1]: Failed to load environment files: No such file or directory
ноя 18 00:32:40 shashilx.com systemd[1]: redsocks.service failed to run 'start-pre' task: No such file or directory
ноя 18 00:32:40 shashilx.com systemd[1]: Failed to start Transparent redirector of any TCP connection to proxy using your firewall.
ноя 18 00:32:40 shashilx.com systemd[1]: Unit redsocks.service entered failed state.
ноя 18 00:32:40 shashilx.com systemd[1]: redsocks.service failed.
after looking in /usr/lib/systemd/system/redsocks.service I've found this
EnvironmentFile=/etc/conf.d/redsocks
and after looking in /etc/conf.d - no file redsocks. and also I don't know what must be in this file :(
Comment by tlvince
I've made some significant changes to the current package including using the official repo (the libevent2 fix was merged quite a while ago), running redsocks as its own user/group (to restrict its privileges) and generally aligning the package style to that of packages in the official repos (based on dnsmasq and bitlbee).
Please review and merge:
https://github.com/tlvince/pkgbuild/tree/master/redsocks-git
Comment by fluffylime
Hm, darkk didn't update it yet, so I switched the package to bjin's repo.
Comment by fluffylime
chx, thanks for the info. I'll wait few more days - maybe darkk will pull the fix for libevent2 into main repo.
Comment by chx
You need to get redsocks from https://github.com/bjin/redsocks/tree/libevent2-fix (git clone -b libevent2-fix https://github.com/bjin/redsocks.git) for now 'cos the original won't compile.
Comment by fluffylime
Added rc.d script by crequill.
Comment by crequill
Hi,
I've added a script in /etc/rc.d/redsocks to launch it as a daemon. Here is the PKGBUILD: http://aur.pastebin.com/HVGbaZjN and redsocks.rc (/etc/rc.d/redsocks): http://aur.pastebin.com/HNdcfNjM