# Mattermost Desktop behind socks proxy

**URL:** <https://forum.mattermost.com/t/mattermost-desktop-behind-socks-proxy/13141>\
**Category:** Troubleshooting\
**Created:** [April 1, 2022, 8:40am UTC](https://forum.mattermost.com/t/mattermost-desktop-behind-socks-proxy/13141 "2022-04-01T08:40:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![turo](https://avatars.discourse-cdn.com/v4/letter/t/9fc29f/32.png) [@turo](https://forum.mattermost.com/u/turo)\
**Post date:** [April 1, 2022, 8:40am UTC](https://forum.mattermost.com/t/mattermost-desktop-behind-socks-proxy/13141/1 "2022-04-01T08:40:02Z")

</div>

Hi,  
I would like to use mattermost desktop app behind socks proxy, is it possible?

I work on linux (Manjaro) and I have an socks5 proxy running and would like to use that for app.

Regards.

---

<div class="post-metadata">

**Author:** ![curzondax](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@curzondax](https://forum.mattermost.com/u/curzondax)\
**Post date:** [April 22, 2022, 5:52pm UTC](https://forum.mattermost.com/t/mattermost-desktop-behind-socks-proxy/13141/2 "2022-04-22T17:52:25Z")

</div>

Yes, please. For self-hosted, this is important.

---

<div class="post-metadata">

**Author:** ![LimitX](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/limitx/32/6603_2.png) [@LimitX](https://forum.mattermost.com/u/LimitX)\
**Post date:** [March 23, 2023, 8:12am UTC](https://forum.mattermost.com/t/mattermost-desktop-behind-socks-proxy/13141/3 "2023-03-23T08:12:23Z")

</div>

In my case (Manjaro with KDE) I had to configure the proxy server in KDEs settings which mattermost-desktop respects.

I found some cli parameters for the desktop app in [this README](https://snyk.io/advisor/npm-package/mattermost-desktop) (not sure why they aren’t documented anywhere else) that you can use. You need to edit the .desktop file for mattermost-desktop to add CLI parameters on startup:

```auto
cat /usr/share/applications/mattermost-desktop.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Mattermost
Comment=Mattermost Desktop application
Exec=mattermost-desktop --proxy-server=socks5://ip:port
...

```

Edit: screenshot from the README

 ![Screenshot_20230323_091252](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/a/a9eebaedfffd1c36bb98c516ab7a346887bb48c0.png)

---

<div class="post-metadata">

**Author:** ![agriesser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agriesser/32/5644_2.png) [@agriesser](https://forum.mattermost.com/u/agriesser)\
**Post date:** [March 24, 2023, 4:27am UTC](https://forum.mattermost.com/t/mattermost-desktop-behind-socks-proxy/13141/4 "2023-03-24T04:27:16Z")

</div>

Hi @LimitX , welcome to the Mattermost forums and thanks for pointing out the solution!

I’ll alert the documentation team to take a look at this discrepancy and make sure those settings are better documented. Thanks!

---

<div class="post-metadata">

**Author:** ![cwarnermm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/cwarnermm/32/5576_2.png) [@cwarnermm](https://forum.mattermost.com/u/cwarnermm)\
**Post date:** [May 5, 2023, 12:30pm UTC](https://forum.mattermost.com/t/mattermost-desktop-behind-socks-proxy/13141/5 "2023-05-05T12:30:23Z")

</div>

Hello! The Mattermost Documentation team has reviewed this docs request with Mattermost Engineering. This is something that Mattermost doesn’t officially support, so the product documentation won’t be updated with this information.

The Desktop App is using standard Electron command-line arguments which are presumably supported by any Electron app: [Supported Command Line Switches | Electron](https://www.electronjs.org/docs/latest/api/command-line-switches).
