Add DOS protection on VPN

This PR add DOS protection on VPN