Hacker News new | ask | show | jobs
by moepstar 4656 days ago
APF, which is basically just a simplified way of setting up IPTables rules, does this.

http://www.rfxn.com/projects/advanced-policy-firewall/

or

apt-get install apf-firewall