Skip to main content


Downloading and Installing OTG 1 for Mac

Installation is recommended using the command line for both a single install or multiple installs across your network using your preferred deployment method, e.g. group policy.

Ensure you are logged in with administrator privileges before following the steps below.

  1. Click here to download the Mac OTG 1 install file (otg_setup.pkg). The current version of OTG 1 for Mac is 1.7.

  2. Open a terminal and change directory so you are in the same directory as otg_setup.pkg, downloaded in step 1.

  3. Run the following command to initiate installation: sudo installer -pkg otg_setup.pkg -target /


    You are required to provide your WebTitan Cloud credentials as parameters below. This allows for the automatic creation of your Roaming Locations in WebTitan Cloud. These parameters are used once and not stored.

  4. During installation, an administrator must create a command script based on the sample shown below with parameters edited for your WebTitan Cloud. When passed to OTG 1, these details create the roaming location key for this device.

    There are four required parameters described in the table below and also several optional parameters which are described further down this page.

    sudo /Applications/ WTC_SERVER_URL= DNS_RESOLVER= CUSTOMER_PASSWORD=mypassword

    The command must be on a single line with no line breaks.


    With Catalina 10.15 or later, you may get a shell response similar to the following if your password contains a wildcard character:

    zsh: no matches found: CUSTOMER_PASSWORD=xxx

    To correct this, wrap your password in single quotes.

    Required Parameters:





    The URL and port number of your WebTitan Cloud instance. You can get the FQDN by opening a terminal window and typing nslookup followed by the IP of your WebTitan Cloud e.g. nslookup


    The IP address of the WebTitan Cloud DNS resolver to send DNS requests to.


    The email address for the customer account under which the roaming location will be added.


    The password previously created for the customer account under which the roaming location will be added. If the password contains special characters, wrap it in single quotes.


  5. Enter your custom script in the terminal window and press Enter.

  6. When the script has run, OTG will produce output in the terminal window. If the configuration is successful, WebTitan Cloud OTG has been configured will display. An error message will be displayed if there is a problem with the parameters.

After Installing OTG 1 for Mac

There are a number of things to note after OTG 1 for Mac installation:

  • Assuming your current external IP address is not configured to be bypassed, OTG 1 will connect to your WebTitan Cloud account and start filtering.

  • After installation, OTG 1 connects to WebTitan Cloud and creates a new roaming location and a new user that will match the macOS account username. The user will have a unique identifier made from the username appended with the computer name, e.g. docs@TRAINING-Mac. If the Mac is a member of a domain, then the user identifier will be the username appended with the domain name.

  • Users created via OTG 1 are assigned the default customer policy, but this can be changed to a new or different policy as required.

  • OTG 1automatically downloads and installs the WebTitan Cloud SSL certificate to Mac Keychain. This allows the WebTitan Cloud block page for HTTPS sites to be shown without an error.

Optional OTG 1 Installation Parameters

When creating your command line script for installing OTG 1, as well as the four required parameters there are also several optional parameters that you can use:




When creating a roaming location, OTG 1 assigns the Windows or Mac computer name by default. To change this you can specify a LOCATION_NAME value.

LOCATION_NAME should not be used if installing multiple OTGs, as the roaming location names must be unique.

Example: LOCATION_NAME=Training-PC


If specified, a LOCATION_NAME_SUFFIX is appended to the LOCATION_NAME and separated using '@', e.g LOCATION_NAME@LOCATION_NAME_SUFFIX

LOCATION_NAME and LOCATION_NAME_SUFFIX should not be used together if installing multiple OTGs, as the roaming location names must be unique.



A remote user may visit a location (e.g. main office) that is also using WebTitan Cloud or any other internal filtering solution for filtering. In this case, you may want OTG 1 to be disabled while there. To do this, the office's public facing IP can be added to a list of bypass IPs when OTG 1 is installed. When the user leaves the office, OTG 1 will detect the IP change and start filtering again.

When OTG 1 is in bypass mode, the OTG tray icon will show "status: ignored".

To bypass multiple IPs (e.g. several locations) use a comma to separate them:

Example: BYPASS_IPS=,

To bypass a range of IPs use a hyphen to separate the two addresses:

Example: BYPASS_IPS= (no spaces between the hyphen and IPs).


Controls the WebTitan OTG 1 information, logo and popup notifications in the Windows system tray or macOS menu bar. Values can be:

  • 0 - hide the tray icon.

  • 1 - only show tool tip, but no notification balloon. (default)

  • 2 - show both tool tip and notification balloon.

Example: TRAY_TYPE=2


Used conditionally forward requests for particular domains to specific DNS servers, based on the current external IP address.

This is useful if you want to treat domains differently depending on where the user is, e.g. if a company's internal domain is the same name as its external domain and where access to the local office resources are impacted if routed externally. The format is:

DYNAMIC_FORWARD= [site]@[external IP]-[Resolvers, …];

Example:;,, meaning:

When external IP is, a query for * will be forwarded to


When external IP is, a query for * will be forwarded to or


Unconditionally forward any requests for the local domain to a local DNS server (rather than to WebTitan Cloud). If enabled, on startup OTG will attempt to get the name of the local domain and will store the DNS settings provided, for example by the DHCP server of that local domain.

When OTG 1 detects requests for the local domain (or subdomains), it doesn't send them to WebTitan Cloud, but to the stored IP of the local DNS server.

Can be set either true or false, e.g. FORWARD_DOMAIN=true


Allows OTG 1 to specify a port for communication with WebTitan Cloud other than the default 7771.


If this parameter is supplied, private cloud WebTitan Cloud servers must also be configured to listen on the port specified.

Example: RPC_PORT=7772