Skip to main content

Configure Google Workspace to Authorize the IP Addresses Used in Arsen Simulations

IP-based Whitelisting

Updated over a month ago

The manual IP whitelisting procedure allows Arsen phishing simulation emails to bypass your protections and reach employees’ inboxes directly, ensuring a realistic training experience.


1 – Objectives

  • Allow Arsen simulation emails to reach inboxes successfully

  • Prevent simulations from being flagged as spam

  • Reduce visual warnings that could artificially influence employee behavior

  • Ensure realistic and representative phishing awareness training


2 – Prerequisites

  • Administrator access to the Google Workspace / Google Apps Admin Console

  • Ability to modify Gmail settings at the organization level


3 – Add Arsen IP addresses to the allow list

3.1 – Access Gmail settings

Google Admin Console homepage highlighting the “Apps” tile used to manage web and mobile applications.
  • Click Google Workspace

Google Admin view showing application categories with “Google Workspace” selected.
  • Select Gmail

Google Workspace services list with “Gmail” highlighted as enabled for all users

3.2 – Open security settings

  • Open Spam, phishing, and malware
    (or Advanced Settings depending on your interface)

Gmail settings panel in Google Admin showing the “Spam, phishing and malware” section.

3.3 – Add IPs to the allow list

  • In the left column, select your primary domain

Gmail security settings for the organizational unit “Arsen,” showing whitelist options and advanced scanning settings.
  • In Email whitelist, enter:

    • 161.38.204.14

    • 185.211.123.249

  • Click Save

Gmail whitelist configuration screen with IP “161.38.204.14” entered and Save/Cancel buttons visible.

Arsen emails will now reach inboxes.


To also disable Gmail warning banners, complete the next step.


4 – Add the IP addresses as an inbound gateway

4.1 – Access inbound gateway configuration

In: Admin Console → AppsGoogle WorkspaceGmail

  • Select your Organizational Unit

  • Click Inbound Gateway

Gmail settings page showing the “Inbound Gateway” section for the Arsen organizational unit.

4.2 – Enable the gateway

  • Check Enable

4.3 – Add gateway IPs

In Gateway IPs:

  • Click Add

  • Enter:

    • 161.38.204.14

    • 185.211.123.249

Inbound Gateway configuration with “Enable” checked and IP 161.38.204.14 added.
  • Click Save

4.4 – Secure the connection

  • Check Require TLS for connections from the listed mail gateways


5 – Adjust spam detection settings

5.1 – Define an arbitrary regular expression

In Message tagging:

  • Check Message is considered spam if the header matches the following regex

  • Enter an arbitrary value, for example:

fjlriohdftoiuyagdfjhvkbj

This value will never match a header generated by Arsen.

5.2 – Modify Gmail’s spam filter behavior

  • Select Message is spam if the regex matches…

  • Then check:

Disable Gmail’s spam filter for messages received from this gateway and rely only on the header value.

Advanced inbound gateway settings showing mandatory TLS, custom regex, and spam filter deactivation options.

5.3 – Save configuration

  • Click Save

Did this answer your question?