Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3260

System and Network configuration • iptables and connection limit

$
0
0
Hello,
I have a shadowsocks proxy running on port 1080 and I want only two IP addresses to be able to connect to this port at the same time. I used the following rule:

Code:

# iptables -A INPUT -p tcp --dport 1080 -m connlimit --connlimit-above 2 --connlimit-mask 0 -j REJECT
But, it didn't work. No one can connect to shadowsocks proxy and use the internet. Any idea?

Thank you.

Statistics: Posted by jasonnix — 2024-02-14 15:16 — Replies 2 — Views 71



Viewing all articles
Browse latest Browse all 3260

Trending Articles