Add firewall support.
Merge pull request #1 from nanliu/firewall

Add firewall support.