An EXTREMELY INSECURE, LAN only, anonymous, wide open, all in one, universal server.
WARNING DO NOT USE !!!
- Unfs3
- Samba
- ProFTPD
- Tftpd
- Rcpd
- WFM for httpd+upload
- Telnet (omg)
All servers expose /srv
directory. Mount it as a volume with -v
.
Docker Hub: https://hub.docker.com/r/tenox7/unisrv
Pick a local directory and mount it under /srv
using -v
.
For use with passive ftp, supply host IP address as HOST_ADDRESS
env var.
On Linux you can use hostname -i
, on macOS you may want to replace hostname -i
with ipconfig getifaddr en0
or just hardcode it.
docker run \
-v /myhost/dir:/srv \
--rm -d --privileged \
--name unisrv \
-e HOST_ADDRESS=$(hostname -i) \
-p 69:69/udp \
-p 80:80 \
-p 139:139 -p 445:445 \
-p 514:514 \
-p 21:21 -p 50000-50100:50000-50100 \
-p 111:111/udp -p 111:111/tcp \
-p 2049:2049/udp -p 2049:2049/tcp \
tenox7/unisrv:latest
use your host static IP address:
docker run ... -p 192.168.0.5:111:111/udp -p 192.168.0.5:111:111/tcp
This is because it needs modprobe nf_nat_tftp
and nf_conntrack_tftp
.
Maybe set network mode to host or bridge?
Use nolock NFS mount option:
mount -o nolock