E
E
enly12017-11-16 10:56:15
iptables
enly1, 2017-11-16 10:56:15

"Whitelist" for IPtables?

Good day
Iptables has a connlimit rule set for port 80
How can I make sure that connlimit does not work for given addresses?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
krosh, 2017-11-16
@enly1

iptables -I INPUT -s IP_ADDRES -j ACCEPT
- will insert the rule at the very beginning of the INPUT chain.

iptables --line-numbers -nL
iptables -I INPUT 3 -s IP_ADDRES -j ACCEPT

- view the list of rules with numbers and insert the rule on the 3rd line in the INPUT chain. Find out where you have the rule with the connlimit criterion and add what you need before it.

D
Denis Michurin, 2017-11-16
@denistu10

write a rule for these IPs and put it above the connlimit rule

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question