Fixing vhost bug and iptables save issue