fix #29

- fix ubuntu support
- tested on ubuntu 14.04 and 12.04
- fix centos support
- tested on centos 6.5
saveIptablesRules is not working properly. As it is useful to persist firewall rules at reboot, do we really need it here?