Answers for "iptables allow port to specific ip"

0

iptables block incoming port

iptables -A INPUT -p tcp --dport 8000 -s 1.2.3.4 -j ACCEPT
iptables -A INPUT -p tcp --dport 8000 -j DROP
Posted by: Guest on July-02-2020

Code answers related to "iptables allow port to specific ip"

Browse Popular Code Answers by Language