Jump to content
  • 0

How to increase connections at the same time?


Gouki

Question


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

Hi!

I have 3 proxies on my server, and all of them gets disconnected prompts if there are alot of connections happening. avg population 500

is this the place where you adjust it? or this is only for account creation?
 

// Account registration flood protection system
// allowed_regs is the number of registrations allowed in time_allowed (in seconds)
allowed_regs: 1
time_allowed: 10


is it even possible?
is this a server side issue or hosting issue?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  298
  • Reputation:   47
  • Joined:  03/30/13
  • Last Seen:  

it depends on your proxy setup, you should set atleast 2000 connection per proxy

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

I have 2 proxies from OVH and at some point they get disconnected from server. should there be any other setting to allow them to connect at the same time?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  298
  • Reputation:   47
  • Joined:  03/30/13
  • Last Seen:  

it depends on how you set your proxy, there are alot of ways to do the proxy, but you should configure your proxy to have a maxconnection of atleast 2000 and a higher timeout between client and server just to avoid disconnection

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

39 minutes ago, Vy Low said:

it depends on how you set your proxy, there are alot of ways to do the proxy, but you should configure your proxy to have a maxconnection of atleast 2000 and a higher timeout between client and server just to avoid disconnection

yum install firewalld

systemctl enable firewalld

systemctl start firewalld

firewall-cmd --state

firewall-cmd --get-default-zone

firewall-cmd --zone=public --list-all

firewall-cmd --zone=public --add-masquerade --permanent

firewall-cmd --zone="public" --add-forward-port=port=6900:proto=tcp:toport=6925:toaddr=IP ADDRESS --permanent
firewall-cmd --zone="public" --add-forward-port=port=6121:proto=tcp:toport=6125:toaddr=IP ADDRESS --permanent
firewall-cmd --zone="public" --add-forward-port=port=5121:proto=tcp:toport=5125:toaddr=IP ADDRESS --permanent

firewall-cmd --zone=public --add-port=6900/tcp --permanent
firewall-cmd --zone=public --add-port=6121/tcp --permanent
firewall-cmd --zone=public --add-port=5121/tcp --permanent

firewall-cmd --reload

Here's how I set up the proxy, would there be a better way?

Edited by Almond Snicker
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  298
  • Reputation:   47
  • Joined:  03/30/13
  • Last Seen:  

i have my own script, i dont use that. but you can check the internet as there are many ways to create a proxy. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...