I'm trying to configure 3proxy on Ubuntu 22.04, following the instructions on the developer's website as well as tutorials from the internet. I need a standard HTTP proxy. All HTTP and HTTPS ports are allowed, but I'm getting an error:
$ curl -x http://username:[email protected]:3128 https://ifconfig.io
curl: (7) Failed to connect to 192.168.1.47 port 3128 after 30 ms: Connection refused
Here is my config /etc/3proxy/3proxy.cfg
nscache 65536
nserver 192.168.1.1
config /conf/3proxy.cfg
monitor /conf/3proxy.cfg
counter /count/3proxy.3cf
users $/conf/passwd
include /conf/counters
include /conf/bandlimiters
auth strong
deny * * 127.0.0.1
allow * * * 80 HTTP # HTTP & HTTPS are allowed!
allow * * * 443 HTTPS # HTTP & HTTPS are allowed!
proxy -n -p 3128 -a # 3128 PORT!
flush
allow
And I can't figure out where the config with users and passwords is stored? I added a user through
add3proxyuser.sh <username> <password>
Maybe something wrong with the firewall? But I haven't installed a firewall software.