How to change the maximum number of connections?

Hi !
In the luci web interface, the maximum number of connections is 8192.
Tell me how to change to 16384?

nm, wrong thing to change.

I don't understand what is written there.
Previously, there was a number of connections 16384 and after updating the firmware was 8192
How to change for 16384 I don't know

nm, wrong thing to change.

In general, nothing is clear. How to change via PuTTY?
uci - what should I enter next?

nm, wrong thing to change.

If that's what you mean

image

then

echo "net.netfilter.nf_conntrack_max = 16384" >> /etc/sysctl.d/11-nf-conntrack.conf
sysctl -p /etc/sysctl.d/11-nf-conntrack.conf
2 Likes

I assumed he meant uhttpd, not the whole box, but I might have misunderstood ...

We're both guessing here ...

2 Likes

tbh, your guess is better than mine :wink:

2 Likes
1 Like

Thank you very much !!!!!
Can you tell me how to change the timeout
net.netfilter.nf_conntrack_tcp_timeout_established = 7440 default, change to 180 as 7440 is too much

the same way ?

1 Like

The sysctrl parameters is self-documenting that is how you change it:

Change 7440 to 180.

It's a pity of course, in any case, it's already better than it was

What do you mean?

You never described a problem. You may wish to note it so it can help others that this fixed it. Also you may want to move the thread to the Installing and Using OpenWrt section.

What device and version of OpenWrt?

This leads me to believe it may be ending it's life in the supported firmwares.

Glad you fixed your issue.

How did I not describe the problem? Everything is written in detail there and pavelgl helps me with the solution of the issue for the second time without any questions.

He guessed, just as I did, although my guess was wrong.
So no, your problem description wasn't clear at all.

1 Like

No, I knew what he was refrencing.

I don't kno why the OP actually wanted to alter the values. No post described an issue that was being experienced to decide to change the value.

In fact the value in post No. 1 isn't the default in most versions, so I hoped the reply provided more details as to why the OP asked to change them in the first place.

Apologies for being unclear, I was referring to @pavelgl.

1 Like