Skip to content
/ unisrv Public

A VERY INSECURE, LAN only, anonymous, wide open server.

Notifications You must be signed in to change notification settings

tenox7/unisrv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniSrv - Universal Server

An EXTREMELY INSECURE, LAN only, anonymous, wide open, all in one, universal server.

WARNING DO NOT USE !!!

Servers

  • Unfs3
  • Samba
  • ProFTPD
  • Tftpd
  • Rcpd
  • WFM for httpd+upload
  • Telnet (omg)

Directory

All servers expose /srv directory. Mount it as a volume with -v.

Running

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

Troubleshooting

On macOS unable to bind to 0.0.0.0/111

use your host static IP address:

docker run ... -p 192.168.0.5:111:111/udp -p 192.168.0.5:111:111/tcp

On macOS unable to connect to tftpd

This is because it needs modprobe nf_nat_tftp and nf_conntrack_tftp. Maybe set network mode to host or bridge?

NFS mount fails with rpc.statd or lockd

Use nolock NFS mount option:

mount -o nolock

References

About

A VERY INSECURE, LAN only, anonymous, wide open server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published