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

Don't forward all IPs to the docker container #202

Open
njm506 opened this issue May 17, 2024 · 0 comments
Open

Don't forward all IPs to the docker container #202

njm506 opened this issue May 17, 2024 · 0 comments

Comments

@njm506
Copy link

njm506 commented May 17, 2024

The docker instructions say to use -p 3000:3000, but this forwards port 3000 on all host interfaces. That means that, in the absence of a host firewall, anyone on the network can connect to your juice shop, which is possibly not what you want for self-study.

Instead, docker provides a facility to only forward ports on selected IP addresses; -p 127.0.0.1:3000:3000 will only forward port 3000 on localhost (v4); if that is sufficient for the exercises perhaps it would be a more conservative configuration to suggest?

docs/modules/ROOT/pages/part1/running.adoc

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