start.sh 369 B

123456789
  1. #!/bin/bash
  2. # On Docker for Linux, the IP address of the gateway between
  3. # the Docker host and the bridge network is 172.17.0.1
  4. # if you are using default networking
  5. IPADDRESS=$(ip -4 -o address | grep eth0 | cut -d/ -f1 | awk {'print $4'})
  6. sudo -u tor tor -f /anarres/torrc.config &
  7. dnsmasq --conf-file=/anarres/dnsmasq.config --listen-address=$IPADDRESS --no-daemon