Skip to content

Commit c403865

Browse files
authored
Update README.md
1 parent b72e59a commit c403865

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ Now you are ready to go with a little CI/CD Environment:
3636
#### Security
3737
... not really, its all http .. don't worry about it! It's only local communication
3838

39-
WARNING
40-
All the services are reachable from outer world because docker creates and deletes dynamically FORWARD Rules with ACCEPT on startup / shutdown containers with exported ports.
39+
##### security paranoia
40+
All the exposed ports are reachable from outer world because docker creates and deletes dynamically FORWARD rules with default policy ACCEPT on startup / shutdown containers witch have exported ports.
4141

42-
To deny acccess froum outer world the DOCKER-USER Chain (since docker 17.06) ist the medium of choice.
43-
A little Script to deny all access from outer world to your local build environment could be
42+
To deny acccess from outer world the DOCKER-USER Chain (since docker 17.06) ist the medium of choice for your own rules (this is the first target in the FORWARD-Chain and never touched by docker).
43+
44+
A little Script to deny all access from outer world to your local build environment could be the following (exposed port from nginx are 80,5555,2222)
4445
```
4546
#!/bin/bash
4647
if [ $# -lt 1 ] ; then

0 commit comments

Comments
 (0)