Connect through a proxy
Some corporate and university networks may require you to connect to Zulip via a proxy.
Zulip uses your browser’s default proxy settings. To set a custom proxy just for Zulip, check your browser’s instructions for setting a custom proxy for a single website.
Desktop
Section titled “Desktop”Current desktop and mobile app
Section titled “Current desktop and mobile app”The current Zulip app does not have the Electron client’s Network tab or a per-chat proxy selector. Configure your network’s proxy with your administrator. The app’s use of system proxy settings depends on the platform and app build; browser proxy settings alone do not configure every native app.
In Settings → Data and storage, Proxy setup help opens this guide. After changing your network configuration, reconnect and check that messages and uploads work. Calls use a separate connection; a working chat connection does not by itself confirm that calls can pass through the proxy.
Electron desktop client
Section titled “Electron desktop client”The following controls apply to the older Electron desktop client, if it is provided by your administrator and has a Network tab. They are not settings in the current desktop or mobile app.
- Click the gear () icon in the bottom left corner of the app.
- Select the Network tab.
- Click Use system proxy settings.
- Restart the Zulip desktop app.
- Click the gear () icon in the bottom left corner of the app.
- Select the Network tab.
- Click Manual proxy configuration.
- Either enter a URL for PAC script, or fill out Proxy rules and Proxy bypass rules.
- Click Save changes.
Additional tips for custom proxy settings
Section titled “Additional tips for custom proxy settings”In most corporate environments, your network administrator will provide a URL for the PAC script.
The field names and rule syntax in this section apply to the Electron client. For the current app, follow your administrator’s platform-specific instructions.
The second most common configuration is that your network administrator has
set up a proxy server for accessing the public internet, but URLs on the
local network must be accessed directly. In that case set Proxy rules to
the URL of the proxy server (it may look something like
http://proxy.example.edu:port), and Proxy bypass rules to cover local URLs
(it may look something like *.example.edu,10.0.0.0/8).
If either of those apply, you can skip the rest of this guide. If not, we document the syntax for Proxy rules and Proxy bypass rules below.
Proxy rules
Section titled “Proxy rules”A semicolon-separated list of protocolRules.
protocolRule -> [<protocol>"="]<URLList>protocol -> "http" | "https" | "ftp" | "socks"URLList -> comma-separated list of URLs, ["direct://"]Some examples:
http=http://foo:80;ftp=http://bar:1080- Use proxyhttp://foo:80forhttp://URLs, and proxyhttp://bar:1080forftp://URLs.http://foo:80- Use proxyhttp://foo:80for all URLs.http://foo:80,socks5://bar,direct://- Use proxyhttp://foo:80for all URLs, failing over tosocks5://barifhttp://foo:80is unavailable, and after that using no proxy.http=http://foo;socks5://bar- Use proxyhttp://fooforhttp://URLs, and usesocks5://barfor all other URLs.
Proxy bypass rules
Section titled “Proxy bypass rules”A comma-separated list of URIs. The URIs can be hostnames, IP address
literals, or IP ranges in CIDR notation. Hostnames can use the *
wildcard. Use <local> to match any of 127.0.0.1, ::1, or localhost.