3 useradd -u 111 -g totd -d / -s /bin/false totd & > /dev/null
5 echo "==> totd: Adjust /etc/totd.conf if you use other then"
6 echo "==> totd: locally binded DNS server - ie. 127.0.0.1:53"
8 echo "==> totd: TOTD uses UDPv6/TCPv6 port 5005 and runs uder"
9 echo "==> totd: separate totd user for security reasons."
10 echo "==> totd: If you would like to use TOTD directly as 'fake'"
11 echo "==> totd: DNS server for your LAN you have to setup some"
12 echo "==> totd: port-forwarding or other tricks because only root"
13 echo "==> totd: can bind ports <1024; ip6tables is not able to"
14 echo "==> totd: do REDIRECT right now :("
16 echo "==> totd: Example with 'socat', child processes run under"
17 echo "==> totd: totd user."
19 echo "==> totd: # socat \\"
20 echo "==> totd: UDP6-LISTEN:ingress_ipv6:53,bind=[::1],reuseaddr,fork,su=totd \\"
21 echo "==> totd: UDP6:[::1]:5005,bind=[::1]"
26 userdel totd & > /dev/null