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 8.8.8.8 via eth0 $ iptables -A OUTPUT -d eth0 -o 8.8.8.8 -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.