feat: don't use unnecessary privileged ports
All checks were successful
Build and publish / build-and-push-arch (push) Successful in 2m15s
All checks were successful
Build and publish / build-and-push-arch (push) Successful in 2m15s
This commit is contained in:
parent
33d5afe1b1
commit
e5f8e010e2
1 changed files with 2 additions and 2 deletions
|
|
@ -23,8 +23,8 @@ else
|
|||
# socat will make the conn appear to come from 127.0.0.1
|
||||
# ProtonMail Bridge currently expects that.
|
||||
# It also allows us to bind to the real ports :)
|
||||
socat TCP-LISTEN:25,fork TCP:127.0.0.1:1025 &
|
||||
socat TCP-LISTEN:143,fork TCP:127.0.0.1:1143 &
|
||||
socat TCP-LISTEN:2025,fork TCP:127.0.0.1:1025 &
|
||||
socat TCP-LISTEN:2143,fork TCP:127.0.0.1:1143 &
|
||||
|
||||
# Start protonmail
|
||||
# Fake a terminal, so it does not quit because of EOF...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue