diff options
| author | David M. Syzdek <david@syzdek.net> | 2021-03-15 12:33:36 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2021-03-15 12:33:36 -0800 |
| commit | 011f8feb85315c4027c74a70969aefe5640ef0cc (patch) | |
| tree | 38ba9a779bac3d5eab0bf92cefe84ccf7cef8c14 | |
| parent | 9104677ca533b50c4ab20aa38ee1bed36c20f2c8 (diff) | |
| download | iperd-011f8feb85315c4027c74a70969aefe5640ef0cc.tar.gz iperd-011f8feb85315c4027c74a70969aefe5640ef0cc.tar.bz2 iperd-011f8feb85315c4027c74a70969aefe5640ef0cc.tar.xz iperd-011f8feb85315c4027c74a70969aefe5640ef0cc.zip | |
Updating notes for HTTP boot
| -rw-r--r-- | dnsmasq-httpboot.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dnsmasq-httpboot.conf b/dnsmasq-httpboot.conf index d10e1d2..4b8e6f1 100644 --- a/dnsmasq-httpboot.conf +++ b/dnsmasq-httpboot.conf | |||
| @@ -40,6 +40,7 @@ | |||
| 40 | # $ iptables -A INPUT -i <DEV> -p udp --dport bootpc --sport 67:68 -j ACCEPT | 40 | # $ iptables -A INPUT -i <DEV> -p udp --dport bootpc --sport 67:68 -j ACCEPT |
| 41 | # $ iptables -A INPUT -i <DEV> -p udp --dport 4011 -j ACCEPT | 41 | # $ iptables -A INPUT -i <DEV> -p udp --dport 4011 -j ACCEPT |
| 42 | # $ iptables -A INPUT -i <DEV> -p udp --dport tftp -j ACCEPT | 42 | # $ iptables -A INPUT -i <DEV> -p udp --dport tftp -j ACCEPT |
| 43 | # $ iptables -A INPUT -i <DEV> -p udp --dport http -j ACCEPT | ||
| 43 | # $ iptables -A INPUT -i <DEV> -p tcp --dport domain -j ACCEPT | 44 | # $ iptables -A INPUT -i <DEV> -p tcp --dport domain -j ACCEPT |
| 44 | # $ iptables -A INPUT -i <DEV> -p udp --dport domain -j ACCEPT | 45 | # $ iptables -A INPUT -i <DEV> -p udp --dport domain -j ACCEPT |
| 45 | # | 46 | # |
| @@ -54,6 +55,15 @@ | |||
| 54 | # -R - Don't read /etc/resolv.conf | 55 | # -R - Don't read /etc/resolv.conf |
| 55 | # -n - Don't poll /etc/resolv.conf for changes. | 56 | # -n - Don't poll /etc/resolv.conf for changes. |
| 56 | # | 57 | # |
| 58 | # Start busybox httpd: | ||
| 59 | # $ busybox httpd -p 10.0.109.254:80 -h /var/lib/tftpboot -f -vv | ||
| 60 | # | ||
| 61 | # Useful httpd options: | ||
| 62 | # -f - don't daemonize | ||
| 63 | # -v[v] - verbose | ||
| 64 | # -p IP:PORT - Bind to IP:PORT (default *:80) | ||
| 65 | # -h HOME - Home directory (default .) | ||
| 66 | # | ||
| 57 | 67 | ||
| 58 | # | 68 | # |
| 59 | # Local network | 69 | # Local network |
