If anyone is looking for down and dirty solution.

Seems to work fine as I suggested.

I started with this:

docker run -p 137-139:137-139 -p 445:445 -p 4568:80 -v /home/user/share/:/shared --name samba pwntr/samba-alpine

4568 is the port to access shared container data over http, only port 4568 should be exposed via tunnel.

smb share works in anonymus mode. Change config if needs to be more secure on local network.

current container is missing this as a last step in Dockerfile. Can be done by changing entry point to CMD to run

start.sh that will contain:

supervisord" "-c" "/config/supervisord.conf &

python3 -m http.server 80 &

Reply to this note

Please Login to reply.

Discussion

No replies yet.