You are not logged in.

#1 2018-07-10 13:19:01

giacombum
Member
Registered: 2011-08-03
Posts: 94

redsocks does not work

Hi, I've to setup redsocks to redirect all my linux net traffic to my company proxies: I've installed it via aur, then I downloaded my company redsocks.conf file. I try to enable the redsocks service, but the problem is in these commands that the redsocks.conf file wants to execute:

user = redsocks;
groups = redsocks;
chroot = /var/chroot;

If I try to simple chroot to this directory, I obtain the following error:

sudo chroot /var/chroot
[sudo] password for giacomo:
chroot: failed to run command '/bin/bash': No such file or directory

I've searched on google, but I cannot understand what is the problem and therefore its possible solution. Can you help me?

Offline

#2 2018-07-10 22:05:05

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: redsocks does not work

chroot-invocation.html#chroot-invocation covers why `sudo chroot /var/chroot` failed.
What have you populated /var/chroot with?

Offline

Board footer

Powered by FluxBB