Today I was working with iptables. Here are a few tips that I found that helped me out.

# This command will drop all packets being sent to via eth0 

$ iptables -A OUTPUT -d eth0 -o -j DROP

# or for all packets,

$ iptables -A OUTPUT -d eth0 -j DROP

# And to delete our rule that we added,

$ iptables -D OUTPUT -d eth0 -j DROP

I also started working on converting a website from joomla to wordpress. I prefer working with commandline tools as they tend to be faster and I can put them in scripts to automate repetitive tasks. All of these content management systems are so tedious. Of course, by the time I have figured out how to automate everything, I could’ve been finished with this little website and have worked on something else more fun.

This post is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License