Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SECURITY ISSUE: Ports are accessible from anyone on the same network and can make trades on your account #30

Open
smithb1994 opened this issue Feb 15, 2023 · 0 comments

Comments

@smithb1994
Copy link

Port mapping with docker-compose exposes ports not only on your local machine but also to others on your network.
So you're vulnerable to people making API calls to IB Gateway or accessing VNC whenever you're at a coffee shop or any other local network.

See article:
https://vccolombo.github.io/blog/how-to-stop-docker-exposing-your-containers-to-the-world/

Fix:
Change docker-compose ports from

ports:
  - "4003:4003"
  - "5901:5900"

To

ports:
  - "127.0.0.1:4003:4003"
  - "127.0.0.1:5901:5900"
@smithb1994 smithb1994 changed the title SECURITY ISSUE: Ports are accessible from anyone on the same network SECURITY ISSUE: Ports are accessible from anyone on the same network and can make trades on your account Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant