Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Protonmail Bridge via docker, network issues

Featured Replies

I'd like to run protonmail bridge as a docker container on my unraid 6.8.3 box. Nothing is available in CA, so I was able to load a container from dockerhub (currently using shenxn/protonmail-bridge). It loads successfully and I'm able to spin up the protonmail-bridge application, but having trouble with getting network connections to work after that.

My goals are to have the IMAP and SMTP ports via that application open to both network clients as well as clients connected through a "remote tunnel" on wireguard. I've tried all sorts of variations of the networking configurations in VPN settings as well as docker container (bridge, host, custom) but I haven't been successful. Any tips? This is what I'm currently working with:

 

wg.jpg

container.jpg

  • Author

An update: If I set the network type for the container to custom / br0 and give it a fixed IP, I can connect to the bridge as expected from within the LAN. However, when I try the same thing from a client connected through wireguard, it does not work. When I ping the docker's local IP address from the remote wireguard client, I get destination host unreachable.


Could this be solved with a static route? VLAN?

AFAIK, you need to in the router supply a route back to the server to communicate with containers that are on a separate IP.

  • Author
44 minutes ago, Squid said:

AFAIK, you need to in the router supply a route back to the server to communicate with containers that are on a separate IP.

I don't necessarily need a separate IP. That's just the only way I've gotten it working. It seems like I should be able to enable bridge mode and from the client connect the unraid server's IP, right?

  • 5 weeks later...

Did you ever get this working properly? I have been trying to get this working too. I can get the docker up but just cant get a net connection what so ever. I cant ping anything through it. And because of that i cant actually log in to the protonmail account. 

  • Author


Yes I did, but the only way I was successful was using the host networking interface setting.

You're running the bridge in CLI mode right? I never had an issue with the docker itself having an internet connection.


 

21 hours ago, BKS said:


Yes I did, but the only way I was successful was using the host networking interface setting.

You're running the bridge in CLI mode right? I never had an issue with the docker itself having an internet connection.


 

I literally just downloaded the docker from CA and left most of the launch details as it was. Any chance you could do a step by step?? I dont need it to work for clients on a vpn or anything... just a working container would be nice! XD

 

It does say CLI mode in the logs

Edited by tazire

  • Author
2 hours ago, tazire said:

I literally just downloaded the docker from CA and left most of the launch details as it was. Any chance you could do a step by step?? I dont need it to work for clients on a vpn or anything... just a working container would be nice! XD

 

It does say CLI mode in the logs

1. Enable dockerhub search results in CA

2. search for protonmail bridge; install the version by shenxn

3. Try the following network settings: Network type: Host, imap: 1143, smtp: 1025.

4. Open docker container in console mode

5. Open protonmail bridge in CLI mode by running "protonmail-bridge --cli"

6. Authenticate with "login" command, follow prompts.

7. Copy those credentials into your mail client, replacing the 127.0.0.1 IP address with that of your unraid server.

Ah.... that cli command is what i was missing.... if you try login without the command it doesnt asked for the 2FA code and was giving me a login failed everytime!!! thanks very much for the help. Up and running now. 

 

EDIT

Unfortunately it still doesnt work very well for me at all. I can close the console after i login or i just cant get the login in details anymore... login just wont work after than initial login. restarting the container has a similar effect. Only thing i seem to be able to do is edit the docker and start fresh with it.... And then on top of all this no matter what i try i just cant get anything on my network to use the bridge. I think the fact i get this issue every time i start the docker might show there is some underlying issue with my container. Think im going to give up on this again for now. Thanks again for the help though.  

 

Edited by tazire

  • 4 months later...

Did you ever get this to work?

Yes I did and have it running atm. Its not without its issues though. In my experience I could only access the CLI on first install so I needed to get everything setup the first time. I had to get it setup in multi inbox mode and save all the login details at this point. I have no way to access the CLI after this. I cant change any details or settings but its still running and working just fine other than that. 

  • 1 month later...

okay i got it up and runing but now i have new containers being made that say they are protonmail bridge. the newest is called "quirky_perlman" with an id of 3d528365e607. has any one seen this before?

 

  • 9 months later...
On 11/24/2020 at 2:48 PM, BKS said:

5. Open protonmail bridge in CLI mode by running "protonmail-bridge --cli"

@BKS, what exactly do you mean by this? If you're interacting with protonmail-bridge using the command line, aren't you using the cli? The reason I ask is because when I type in "protonmail-bridge --cli" nothing happens. I then type "login" and keep getting a "login incorrect" error.

  • 11 months later...

help i get `GLIBC_2.28' not found

whats that?

/usr/lib/protonmail/bridge/bridge: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/protonmail/bridge/bridge)
FATA[Mar 12 12:04:46.142] Failed to launch                              error="exit status 1" exe_path=/usr/lib/protonmail/bridge/bridge exe_to_launch=bridge launcher_path=/usr/lib/protonmail/bridge/proton-bridge launcher_version=3.0.20

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.