File: README.md

package info (click to toggle)
tftp-proxy 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 132 kB
  • sloc: makefile: 7
file content (22 lines) | stat: -rw-r--r-- 510 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# tftp-proxy
A TFTP server that proxies request to an HTTP backend if a file is not found.

# Building

    go build

or for linux:

    env GOOS=linux GOARCH=amd64 go build

# How to run
    ./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