aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-prep/configs/udhcpd.conf
blob: 04160aa4d1940d6b5333b7cb8bc73b4c43a37847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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