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:But, it didn't work. No one can connect to shadowsocks proxy and use the internet. Any idea?
Thank you.
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
Thank you.
Statistics: Posted by jasonnix — 2024-02-14 15:16 — Replies 2 — Views 71