ip/device connected to a specific port ? there is nothing in internet its so fking weird.
iptables -A INPUT -p tcp --syn --dport 22 -m connlimit --connlimit-above 3 -j REJECT
you stil have not found it? lol
i was searching for that the whole of my life.
its for limit connection per ip.i want that for ex one ip can connect and make any connection its need.
Read the documentation
do you mean you want an allow list?
i found NOTHING that solve my fking problem.
iptables -A INPUT -p tcp --syn --dport 0:65535 -m connlimit --connlimit-above 3 -j REJECT
bro , its connection limit . i dont want limit connections
look , i want to limit count of connected ip to a port. when i run this for ex : --iplimit 2 only two ip could connect to my port and the third couldnt connet. but that two ip can make any connection as they need. (limit number of ips to connect not number of tcp connctions)
Обсуждают сегодня