Debian packaging of tftp-proxy
|
|
6 年 前 | |
|---|---|---|
| .gitignore | 6 年 前 | |
| .goreleaser.yml | 6 年 前 | |
| LICENSE | 6 年 前 | |
| README.md | 6 年 前 | |
| go.mod | 6 年 前 | |
| go.sum | 6 年 前 | |
| main.go | 6 年 前 | |
| tftp-proxy.service | 6 年 前 |
A TFTP server that proxies request to an HTTP backend if a file is not found.
go build
or for linux:
env GOOS=linux GOARCH=amd64 go build
./tftp-proxy -url=http://example.com -dir=/var/lib/tftpboot &
or for linux:
scp tftp-proxy.service tftp-proxy destination-host:
ssh destination-host
sudo mv tftp-proxy.service /etc/systemd/system/
sudo mv tftp-proxy /usr/bin/tftp-proxy
sudo vi /etc/systemd/system/tftp-proxy.service
systemctl enable tftp-proxy