Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
close port 8080 via iptables for everything except your IP
# close port 8080 for everything
iptables -P INPUT DROP --dports 8080
# open port 8080 for address
iptables -A INPUT -m multiport --dports 22,5432 -s 188.225.72.45 -j ACCEPT
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question