Basic "gateway protection" implemented