diff options
author | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-17 17:25:38 +0200 |
---|---|---|
committer | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-17 17:25:38 +0200 |
commit | cab97f7c6fc7f3c70c0b92ef07466251f7faca9e (patch) | |
tree | f5a8fe5a84ba777bfa5fe0a786423079f19270a2 /packages/torouter-prep/configs/udhcpd.conf | |
parent | d7bbc0d688a33764e8113a8e691fad5a83089a21 (diff) | |
parent | b848fc89a09e1ac2c3de4049e2cb7294cf589820 (diff) | |
download | torouter-cab97f7c6fc7f3c70c0b92ef07466251f7faca9e.tar.gz torouter-cab97f7c6fc7f3c70c0b92ef07466251f7faca9e.zip |
Merge branch 'master' of ssh://git-rw.torproject.org/torouter
Diffstat (limited to 'packages/torouter-prep/configs/udhcpd.conf')
-rw-r--r-- | packages/torouter-prep/configs/udhcpd.conf | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/torouter-prep/configs/udhcpd.conf b/packages/torouter-prep/configs/udhcpd.conf new file mode 100644 index 0000000..04160aa --- /dev/null +++ b/packages/torouter-prep/configs/udhcpd.conf @@ -0,0 +1,26 @@ +# Sample udhcpd configuration file (/etc/udhcpd.conf) + +# The start and end of the IP lease block +start 172.16.23.10 +end 172.16.23.254 + +# The interface that udhcpd will use +interface uap0 + +# The maximim number of leases (includes addressesd reserved +# by OFFER's, DECLINE's, and ARP conficts +max_leases 244 + +# If remaining is true (default), udhcpd will store the time +# remaining for each lease in the udhcpd leases file. This is +# for embedded systems that cannot keep time between reboots. +# If you set remaining to no, the absolute time that the lease +# expires at will be stored in the dhcpd.leases file. +remaining no + +# Use Tor's DNSPort and route via Tor +opt dns 172.16.23.1 +option subnet 255.255.255.0 +opt router 172.16.23.1 +option domain local +option lease 864000 # 10 days of seconds |