Простая конфигурация для 3proxy

1 сентября 2023 1214 admin

Простая конфигурация для 3proxy


3proxy - это маленький прямой и обратный прокси-сервер, с открытым исходным кодом.
Официальный сайт с неплохой документацией - 3proxy.ru/?l=RU

ПРИМЕЧАНИЕ!

3proxy не подходит для больших нагрузок!
При больших нагрузках 3proxy начинает пропускать пакеты. И в логах будут пустые значения в "отправленных пактах".


Но для небольших задач, когда "надо запустить простую проксю быстро и без сложных настроек" - 3proxy самое то.

Установку/компиляцию мы пропустим. Статей про установку 3proxy на всякие Linux'ы в сети полно.
Я лишь приведу простую рабочую настройку конфигурацию 3proxy.
Чтобы себе сохранить.
Может кому-то еще пригодиться smile

Конфигурационный файл называется 3proxy.cfg
Лежит, обычно, в /etc/3proxy/3proxy.cfg

Авторизация - по логину и паролю:
# run from 3proxy user
setgid 112
setuid 106
# DNS
nsserver 1.1.1.1
nsserver 8.8.8.8
# DNS cache
maxconn 100000
nscache 65536
users user_login:CL:user_password
allow user_login
daemon
flush
# LOG
log /var/log/3proxy/3proxy.log D
logformat "- +_L%t.%. %Y-%m-%d %H-%M-%S %N.%p %E %U %C:%c %R:%r %O %I %h %T %z %q"
auth strong
# HTTP-proxy
proxy -n -p3128 -iIP_1 -eIP_1
proxy -n -p3128 -iIP_2 -eIP_3
#...
# SOCKS5-proxy
socks -n -p3129 -iIP_1 -eIP_1
socks -n -p3129 -iIP_2 -eIP_3
  • 4

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

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

    Добавление комментария

    Имя:
    Пароль:
    Email:
    Код:
    captcha
    Введите код:

    Последнии комментарии
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Bettina (24.12.2025)
    It's actually a great and helpful piece of informa...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Kacey (23.12.2025)
    Hi! This is kind of off topic but I need some advi...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Гурий (22.12.2025)
    Просто не могу удержаться, просто качественно
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Ahmad (22.12.2025)
    Hello my friend! I wish to say that this article i...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Tayla (22.12.2025)
    Appreciate this post. Will try it out.

    Feel free to...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Marcia (20.12.2025)
    Every weekend i used to go to see this site, as i ...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Corrine (20.12.2025)
    This article is in fact a pleasant one it helps ne...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Frederick (19.12.2025)
    Hey there! I've been following your blog for a whi...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Felica (19.12.2025)
    We stumbled over here from a different web address...
    library initialization failed - unable to allocate file descriptor table - out of memory
    Автор Lashawnda (19.12.2025)
    It is not my first time to pay a quick visit this ...
     Популярные
       
    Календарь
    « Декабрь »
    Пн Вт Ср Чт Пт Сб Вс
    1 2 3 4 5 6 7
    8 9 10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    29 30 31
    Облако тегов
    Яндекс.Метрика