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:

https://github.com/semigodking/redsocks

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

1
задан 22 July 2020 в 01:01

2 ответа

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.

1
ответ дан 30 July 2020 в 22:04

Мы пытаемся сделать то же самое, я использую Manjaro, и файл конфигурации находится (установка redsocks2 из AUR) в следующем каталоге: /etc/redsocks2.conf

But, но если вы хотите использовать его в Ubuntu, я думаю, вам придется скомпилировать его из исходного кода (redsocks2).

После того, как вы его установили (вы должны отключить shadowsocks), тогда вы найдет пример файла конфигурации в /usr/share/doc/redsocks2/redsocks2.conf.example

Новизна redsocks2 заключается в том, что она позволяет использовать его вместе с openssl, пропуская через него все соединение компьютера.

Пожалуйста, если вы добились прогресса в настройке, поделитесь им. Завтра я попробую redsocks2, надеюсь, это сработает.

1
ответ дан 30 July 2020 в 22:04

Другие вопросы по тегам:

Похожие вопросы: