Stateful Packet Filter (SPF) allows you to constantly adjust an inbound packet filter to deal with allowing traffic in based on what was sent out.