Raspberry pi or something like it. Http server:
python -m SimpleHTTPServer or python3 -m http
Docker tunnel to cloudflare to hide your ip.
Login to reply
Replies (3)
Thanks vlady! There’s no way getting around the pi in your opinion?
In your initial post you want to self host but not on your node. For that you need a level of separation. That is physical server like pi, or a virtual like a vm or container. I would run it all in a docker container with http via python and smb or nfs.
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 &
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 &