Skip to content

Compilation and Launch 3proxy on MacOS

Hertes edited this page May 21, 2018 · 1 revision

Instruction: compilation and launch 3proxy on MacOS:

  1. Download 3proxy-x.x.xx.tgz sources for Unix/Linux/Windows and documentation
  2. Unpack in Downloads ( /Users/USER_NAME/Downloads/3proxy )
  3. Open Application/Utilities/Terminal
  • cd /Users/*USER_NAME*/Downloads/3proxy
  • make -f Makefile.unix
  • mkdir /Users/*USER_NAME*/3proxy
  • mkdir /Users/*USER_NAME*/3proxy/logs
  • mkdir /Users/*USER_NAME*/3proxy/stat
  • cp src/3proxy /Users/*USER_NAME*/3proxy
  • touch /Users/*USER_NAME*/3proxy/3proxy.cfg
  1. Next, configure the 3proxy.cfg ( /Users/USER_NAME/3proxy/3proxy.cfg )
    For more information on configuring, you can
    find file 3proxy.cfg.sample or
    HowTo http://3proxy.ru/howtor.asp and FAQ http://3proxy.ru/faqr.asp

  2. After everything is set up, run with the command

  • /Users/*USER_NAME*/3proxy/3proxy /Users/*USER_NAME*/3proxy/3proxy.cfg
  1. After making sure that everything is working and configured properly,
    add first line in 3proxy.cfg ( /Users/USER_NAME/3proxy/3proxy.cfg )
  • daemon

Optional. Script for autostart.

  1. In 3proxy programm folder ( /Users/USER_NAME/3proxy/ )
    create a file in a text editor and save it with the name 3proxy.sh

file contents:

  • #!/bin/sh
    /Users/*USER_NAME*/3proxy/3proxy /Users/*USER_NAME*/3proxy/3proxy.cfg
  1. Next in Terminal:
  • chmod 755 /Users/*USER_NAME*/3proxy/3proxy.sh
  1. Open: System Preferences - Users and Groups - Select the current user - Login Items
    Click on the "+" and add file: /Users/USER_NAME/3proxy/3proxy.sh