Answer the question
In order to leave comments, you need to log in
How to allow http access only for a specific ip in iptables?
It must be configured so that access to the server via http is only from one ip, and to all other ports from any ip addresses.
According to the instructions, I registered the rules for the desired ip in the INPUT and OUTPUT chains. I use the ACCEPT policy for all chains.
How to write a rule to restrict access to other ip via http?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question