I am trying to create iptable rules that allow incoming and outgoing ssh connections, and then allow outgoing connections to specific ports, and then finally discard anything that doesn't match.
These are the rules that I came up with, the SSH rules work, but when I go into the box, I can not access http (port 80), although I allowed it. Can anyone spot a mistake?
#!/bin/bash
Thank you for your time.
source share