To be able to connect using L2TPover IPSec make sure the following ports are not blocked :UDP 500. UDP 5500 and UDP 1701.
Disabling your firewall temporarily might help?
If you stil encounter problems, you can try using an OpenVPN connection instead: