A Docker container that proxies modern SMB shares to legacy SMBv1 scanners, enabling secure file access without downgrading the server.
Docker container to proxy a modern smb server for legacy scanner devices
This tool is designed for organizations with legacy scanning devices that only support SMBv1, allowing them to securely access modern SMBv2+ shares without compromising server security. IT administrators use this proxy to bridge compatibility gaps while maintaining secure file storage environments.
Running the container requires privileged mode and port 445 to be exposed, which may have security implications. It is recommended to restrict network access to trusted devices only. Proper credential management for both local and remote SMB shares is essential to maintain security.
Install Docker on the host system
Create a docker-compose.yml file with the provided example configuration
Customize environment variables for timezone, user/group IDs, and SMB credentials
Map port 445 to allow SMB traffic
Run 'docker-compose up -d' to start the container
docker-compose up -d
Starts the scan-to-smb1 container in detached mode using the configured docker-compose file
Set environment variables such as PROXY1_ENABLE=1, PROXY1_SHARE_NAME=scanshare10, PROXY1_REMOTE_PATH=//secure-host/share/path/to/folder
Configures the proxy shares and remote SMB paths for legacy device access