Redsocks2 config file location

I want to use the redsocks2 software to allow for internet redirection thru a proxy. I have managed to install it and in the git documentation the configuration for this appears easy.

Redsocks2 respository:

My problem is that i just don’t know where to put the config file or the name that it should have

Ask Ubuntu Asked on November 14, 2021

2 Answers

2 Answers

We are trying the same thing, I use Manjaro and the configuration file are located (installing redsocks2 from AUR) in the following directory: /etc/redsocks2.conf

But if you want to use it in Ubuntu I think you will have to compile it from the source (redsocks2).

Once you have installed it (you have to disable shadowsocks) then you will find an example configuration file in /usr/share/doc/redsocks2/redsocks2.conf.example

The novelty of redsocks2 is that it allows you to use it together with openssl, passing the entire connection of the computer through it.

Please, if you have made progress in the configuration, share it. Tomorrow I will try redsocks2, hopefully it works.

Answered by Atreyu94 on November 14, 2021

Many software applications are packaged and exist in the official repositories.

The RedSocks is packaged for all current Ubuntu versions.

To install it you need to execute the following commands in the terminal:

sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install redsocks

According to its file list it has configuration files in the /etc folder:

  • /etc/default/redsocks
  • /etc/redsocks.conf

The details about the application may found in man redsocks (or online). Also configuration files usually contain comments, so such files are self-explaining.

Answered by N0rbert on November 14, 2021

Add your own answers!

Related Questions

How do I install Psiphon on Ubuntu 14.04 LTS (Step by Step)

4  Asked on January 25, 2021 by rahul-raj-rai


How to limit user access to selected applications?

2  Asked on January 25, 2021 by jorrit


kernel panic-not syncing: VFS: unable to mount root fs on unknown block(0,0)

1  Asked on January 24, 2021 by donttakemeseriously


How to torrify the Ubuntu host?

0  Asked on January 23, 2021 by k-madhura-nadh-12a


Mouse work ONLY after suspend

0  Asked on January 23, 2021 by idir


“cannot find -lmpi*” when compiling openmpi code

3  Asked on January 22, 2021 by thomas-ding


Ubuntu functioning as display adapter

0  Asked on January 22, 2021 by richard-boekamp


Ask a Question

Get help from others!

© 2021 All rights reserved.