Added DHCP LAN server allow
parent
509faebf6d
commit
3fbe227b80
|
@ -21,6 +21,9 @@ BLOCKINCOMING=1
|
|||
# Clamp MSS, useful on DSL/VPN links
|
||||
#CLAMPMSS=ppp0
|
||||
|
||||
# Do we run a LAN DHCP server?
|
||||
LANDHCPSERVER=1
|
||||
|
||||
# Port forwardings, requires NAT
|
||||
PORTFW=$BASEDIR/port-forwards
|
||||
|
||||
|
|
|
@ -97,6 +97,9 @@ if [ $PORTFW ] && [ $NAT ]; then
|
|||
done
|
||||
fi
|
||||
|
||||
if [ $LANDHCPSERVER ]; then
|
||||
$IPTABLES -A INPUT -i $INTIF -s 0.0.0.0 -j ACCEPT
|
||||
fi
|
||||
|
||||
if [ $NAT ]; then
|
||||
for i in $NATRANGE; do
|
||||
|
|
Loading…
Reference in New Issue