bugfix
This commit is contained in:
parent
ad57c57dd2
commit
51c340e9a4
@ -4,6 +4,8 @@ WAN_IF="eno1"
|
||||
LAN_IF="enx00e04c6800ae"
|
||||
LAN_NET="192.168.2.0/24"
|
||||
LAN_GW="192.168.2.1"
|
||||
LAN_IP_START="192.168.2.60"
|
||||
LAN_IP_END="192.168.2.220
|
||||
|
||||
SOCKS5_SERVER="127.0.0.1"
|
||||
SOCKS5_PORT="1080"
|
||||
|
||||
@ -10,7 +10,7 @@ apt install -y dnsmasq ipset curl || true
|
||||
cat >/etc/dnsmasq.d/lan.conf <<EOL
|
||||
interface=$LAN_IF
|
||||
bind-interfaces
|
||||
dhcp-range=192.168.2.100,192.168.2.200,12h
|
||||
dhcp-range=${LAN_IP_START},${LAN_IP_END},12h
|
||||
dhcp-option=3,$LAN_GW
|
||||
dhcp-option=6,$LAN_GW
|
||||
server=$FOREIGN_DNS1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user