Are you connecting to the public IP address of the VPN server ? Check is the firewall has IPSEC pass through feature. If yes enable it. If not the following ports IP port 50 and 51 , UDP port 500 should be opened up on the firewall