Skip to content

Commit 379d85a

Browse files
committed
dnsmasq invocation cleanups
1 parent e933566 commit 379d85a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

run-mana/start-nat-full.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ sleep 5
2222
ifconfig $phy 10.0.0.1 netmask 255.255.255.0
2323
route add -net 10.0.0.0 netmask 255.255.255.0 gw 10.0.0.1
2424

25-
dnsmasq -C /etc/mana-toolkit/dnsmasq-dhcpd.conf $phy
25+
dnsmasq -z -C /etc/mana-toolkit/dnsmasq-dhcpd.conf -i $phy -I lo
2626

2727
echo '1' > /proc/sys/net/ipv4/ip_forward
2828
iptables --policy INPUT ACCEPT

run-mana/start-nat-simple.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sleep 5
1616
ifconfig $phy 10.0.0.1 netmask 255.255.255.0
1717
route add -net 10.0.0.0 netmask 255.255.255.0 gw 10.0.0.1
1818

19-
dnsmasq -C /etc/mana-toolkit/dnsmasq-dhcpd.conf $phy
19+
dnsmasq -z -C /etc/mana-toolkit/dnsmasq-dhcpd.conf -i $phy -I lo
2020

2121
echo '1' > /proc/sys/net/ipv4/ip_forward
2222
iptables --policy INPUT ACCEPT

run-mana/start-noupstream-eaponly.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ifconfig $phy
2727
ifconfig $phy 10.0.0.1 netmask 255.255.255.0
2828
route add -net 10.0.0.0 netmask 255.255.255.0 gw 10.0.0.1
2929

30-
dnsmasq -C /etc/mana-toolkit/dnsmasq-dhcpd.conf $phy
30+
dnsmasq -z -C /etc/mana-toolkit/dnsmasq-dhcpd.conf -i $phy -I lo
3131
dnsspoof -i $phy -f /etc/mana-toolkit/dnsspoof.conf&
3232
service apache2 start
3333
stunnel4 /etc/mana-toolkit/stunnel.conf

0 commit comments

Comments
 (0)