M
M
martensit2016-02-17 07:12:45
proxy
martensit, 2016-02-17 07:12:45

How to register access to proxies to different users in 3proxy?

This doesn't work:
auth strong
users log1:CL:pas1
allow log1
proxy -n -a -p24531 -iMYIP1 -eMYIP1
flush
auth strong
users log2:CL:pas2
allow log2 proxy
-n -a -p24531 -iMYIP2 -eMYIP2
flush

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Dubrovin, 2016-02-17
@martensit

What does "doesn't work" mean? The config is correct, although somewhat redundant. On MYIP1:24531 user log1 should be allowed, on MYIP2:24531 user log2. If something is wrong - give a piece of logs on requests that do not match the expected behavior, make sure to restart the proxy with a new config (or add a monitor). MYIP1 and MYIP2 must of course be different. The non-redundant config is:

auth strong
users log1:CL:pas1 log2:CL:pas2
allow log1
deny *
proxy -n -a -p24531 -iMYIP1 -eMYIP1
flush
allow log2
deny *
proxy -n -a -p24531 -iMYIP2 -eMYIP2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question