Jump to content
  • 0

How to increase connections at the same time?


Question

Posted

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?

5 answers to this question

Recommended Posts

  • 0
Posted

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?

  • 0
Posted

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

  • 0
Posted (edited)
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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...