beautypg.com

Testfirewall, Syntax, Example – Google Message Security Batch Reference Guide User Manual

Page 274: Description, Return values, Authorization

background image

Batch Commands

277

testfirewall

The testfirewall command tests whether your firewall allows email traffic from IP
addresses outside of the Message Security service IP range.

This command is applicable to the Google Message Security, Google Message
Discovery, and Google Message Filtering products only.

Syntax

testfirewall

Example

testfirewall [email protected]

Description

Determines if connections to the mail server are not blocked by the firewall.

-- Address of the user to be used as the test message
recipient.

Enclose in double quotes or preceded with a ‘\’ symbol if it
contains a quote (‘), double quote (“), backslash (\), apostrophe, commas, #, =
symbols.

Return Values

If your server is blocking connections from outside IP addresses, you will see
a message saying the test passed.

Checking firewall from 12.158.34.71...passed (did not accept

connection)

If your server is accepting connections from outside of the IP addresses, you
will see a message saying the connection was accepted. The test failed.

Checking firewall from 12.158.34.71...failed (accepted connection)

Authorization

Read: Organization Management

Write: Organization Management