Skip to content

Instantly share code, notes, and snippets.



Last active Jun 1, 2020
What would you like to do?
iptables common rules
# Drop for eth0 all incoming connections
sudo iptables -A INPUT -i eth0 -p tcp --dport 3000 -j DROP
# Save rules
sudo service netfilter-persistent save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment