Make some changes for firewall and authentication.