BKS Posted October 24, 2020 Share Posted October 24, 2020 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: Quote Link to comment
BKS Posted October 24, 2020 Author Share Posted October 24, 2020 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? Quote Link to comment
Squid Posted October 24, 2020 Share Posted October 24, 2020 AFAIK, you need to in the router supply a route back to the server to communicate with containers that are on a separate IP. Quote Link to comment
BKS Posted October 24, 2020 Author Share Posted October 24, 2020 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? Quote Link to comment
tazire Posted November 23, 2020 Share Posted November 23, 2020 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. Quote Link to comment
BKS Posted November 23, 2020 Author Share Posted November 23, 2020 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. Quote Link to comment
tazire Posted November 24, 2020 Share Posted November 24, 2020 (edited) 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 November 24, 2020 by tazire Quote Link to comment
BKS Posted November 24, 2020 Author Share Posted November 24, 2020 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. Quote Link to comment
tazire Posted November 24, 2020 Share Posted November 24, 2020 (edited) 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 November 25, 2020 by tazire Quote Link to comment
ProphetSe7en Posted April 10, 2021 Share Posted April 10, 2021 Did you ever get this to work? Quote Link to comment
tazire Posted April 11, 2021 Share Posted April 11, 2021 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. Quote Link to comment
dollabillz Posted May 29, 2021 Share Posted May 29, 2021 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? Quote Link to comment
TheBurgundyBear Posted March 23, 2022 Share Posted March 23, 2022 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. Quote Link to comment
flowermoron Posted March 11, 2023 Share Posted March 11, 2023 help i get `GLIBC_2.28' not found whats that? Quote Link to comment
flowermoron Posted March 12, 2023 Share Posted March 12, 2023 /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 Quote Link to comment
Recommended Posts
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.