I have setup Dante proxy server, and it works OK. Authentication method is been set to use local defined users.

Here is the sample of the configuration file.

 user.privileged: root
 user.unprivileged: nobody
 internal: port= 1080
 socksmethod: username
 clientmethod: none

client pass {
    from: to:
    log: connect disconnect error

socks pass {
    from: to:
    log: connect disconnect error

what I'm looking is to limit each user with two concurrent logins and no more than that.

  • I have the same issue. Did you find any solution?
    – Sinai
    Commented Nov 14, 2020 at 10:28
  • @Sinai No Not Yet. Commented Dec 21, 2020 at 9:03

1 Answer 1


Late response but people searching this in the future:

Following the dante docs you can use


to limit a session per ip. In addition, there is


that limits the total number of concurrent sessions that exist concurently.


  • hi. but by this you are not limiting the user itself. you just limit the ip address of the user. incase if you have more than one user at a same place, then all will be limited. Commented Sep 13, 2019 at 8:48
  • session.state.key you should read the link it has all the information you need. Commented Sep 14, 2019 at 12:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .