From d27afd05cda8313fa0fef031f7d75b8d395a6c30 Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Sun, 5 Apr 2026 00:31:45 +0300 Subject: [PATCH] Howto update --- doc/html/howtoe.html | 174 ++++++++++++++++++++++++++--------------- doc/html/howtor.html | 179 +++++++++++++++++++++++++------------------ 2 files changed, 216 insertions(+), 137 deletions(-) diff --git a/doc/html/howtoe.html b/doc/html/howtoe.html index 6cd0969..cc1d077 100644 --- a/doc/html/howtoe.html +++ b/doc/html/howtoe.html @@ -5,15 +5,14 @@
  • Compilation
  • Proxy server installation and removal
  • Server configuration
    @@ -106,11 +126,7 @@ option from the makefile compiler options, and add the ODBC library to the linke Unpack 3proxy.zip to any directory, for example c:\Program Files\3proxy. If needed, create a directory for storing log files, ODBC sources, etc. Create 3proxy.cfg in the 3proxy installation directory (see Server configuration). -If you use 3proxy before version 0.6, add the -
    -service
    -
    -string into 3proxy.cfg. Now, start a command prompt (cmd.exe). +Now, start a command prompt (cmd.exe). Change to the 3proxy installation directory and run 3proxy.exe --install:
     D:\>C:
    @@ -118,8 +134,7 @@ C:\>cd C:\Program Files\3proxy
     C:\Program Files\3proxy>3proxy.exe --install
     
    Now, you should have the 3proxy service installed and running. If the service is not -started, remove the "service" string from 3proxy.cfg, run 3proxy.exe manually -and correct all errors. +started, run 3proxy.exe manually and correct all errors.

    To remove 3proxy, run 3proxy --remove:

    @@ -129,40 +144,75 @@ C:\Program Files\3proxy>net stop 3proxy
     C:\Program Files\3proxy>3proxy.exe --remove
     
    Now you can simply remove the 3proxy installation directory. -

    -
  • How to install/remove 3proxy under Windows 95/98/ME -

    -Unpack 3proxy.zip to any directory, for example -c:\Program Files\3proxy. If needed, create a directory for storing log files, -ODBC sources, etc. Create 3proxy.cfg in the 3proxy installation directory (see Server configuration). -Remove the string -

    -service
    -
    -from 3proxy.cfg and add -
    -daemon
    -
    -if you want 3proxy to run in the background. -Create a shortcut for 3proxy.exe and place it in the autostart folder or add -it to the registry with regedit.exe: -
    HKLM\Software\Microsoft\Windows\CurrentVersion\Run
    -Type: String -
    3proxy = "c:\Program Files\3proxy.exe" "C:\Program Files\3proxy.cfg"
    -You must use quotes if the path contains spaces. If necessary, restart Windows. -If the service is not started, check the log. Remove the "daemon" command from 3proxy.cfg, -start 3proxy.exe manually and correct all errors.

  • How to install/remove 3proxy under Unix/Linux

    -Compile 3proxy (see Compilation). Copy -executables to any appropriate location (for example, /usr/local/3proxy/sbin -for servers and /usr/local/3proxy/bin for utilities). -Create /usr/local/etc/3proxy.cfg. -(see Server configuration). -You can change the default configuration file location by specifying the configuration file -in the 3proxy command line. -Add 3proxy to the system startup scripts. +Using Makefile: +
    Compile 3proxy (see Compilation) then run: +

    +sudo make install
    +
    +This installs binaries to /usr/local/3proxy/sbin/, configuration to /etc/3proxy/, +and sets up chroot directories. Default configuration file is /etc/3proxy/3proxy.cfg. +

    +

    +Using CMake: +

    +mkdir build && cd build
    +cmake ..
    +cmake --build .
    +sudo cmake --install .
    +
    +

    +

    +Using pre-built packages from GitHub: +
    Download .deb or .rpm packages from GitHub Releases. +
    For Debian/Ubuntu: +

    +sudo dpkg -i 3proxy_*.deb
    +
    +For RHEL/CentOS/Fedora: +
    +sudo rpm -i 3proxy-*.rpm
    +
    +

    +

    +Add 3proxy to the system startup scripts or use systemd: +

    +sudo systemctl enable 3proxy
    +sudo systemctl start 3proxy
    +
    +

    +
  • How to use 3proxy with Docker +

    +Using pre-built images from GitHub Container Registry: +

    +docker pull ghcr.io/3proxy/3proxy:latest
    +
    +

    +

    +Building Docker images: +
    Two Dockerfiles are provided: +

    +

    +

    +By default, 3proxy runs in chroot environment with uid/gid 65535. Use nserver in config for DNS resolution in chroot. +For non-chroot execution, mount config to /etc/3proxy.


    diff --git a/doc/html/howtor.html b/doc/html/howtor.html index ea75aaf..aef87d1 100644 --- a/doc/html/howtor.html +++ b/doc/html/howtor.html @@ -5,16 +5,14 @@
  • Компиляция
  • Установка и удаление 3proxy
  • Конфигурация сервера
  • Установка и удаление 3proxy