formatting adjustments

This commit is contained in:
Cyberes 2023-06-13 14:28:14 -06:00
parent d1ce9211de
commit 7f4e199904
Signed by: cyberes
GPG Key ID: 6B4A33836A9500FE
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,6 @@ else
dns_domain_config="" dns_domain_config=""
fi fi
# Create the dnsmasq.conf file with the generated DNS server config
cat >/etc/dnsmasq.conf <<EOL cat >/etc/dnsmasq.conf <<EOL
interface=$ETH_IFACE interface=$ETH_IFACE
domain-needed domain-needed
@ -94,7 +93,7 @@ iptables -t nat -A PREROUTING -i $WLAN_IFACE -j DNAT --to-destination $BRIDGED_C
iptables -t nat -A POSTROUTING -o $ETH_IFACE -j MASQUERADE iptables -t nat -A POSTROUTING -o $ETH_IFACE -j MASQUERADE
echo "Port forwarded everything to the single bridged client" echo "Port forwarded everything to the single bridged client"
echo -e "\nRestarting dnsmasq...\n" echo -en "\nRestarting dnsmasq..."
service systemd-resolved stop service systemd-resolved stop
# systemctl enable --now dnsmasq # systemctl enable --now dnsmasq
systemctl restart dnsmasq systemctl restart dnsmasq

View File

@ -39,6 +39,7 @@ while true; do
elif [ "$STATUS" == "1" ]; then elif [ "$STATUS" == "1" ]; then
echo -e "\n----> Interface $ETH_IFACE has been plugged in." echo -e "\n----> Interface $ETH_IFACE has been plugged in."
bash "$DIR/bridge/bridge-lan.sh" bash "$DIR/bridge/bridge-lan.sh"
echo ""
bash "$DIR/bridge/clone-client-mac.sh" bash "$DIR/bridge/clone-client-mac.sh"
echo -e "--> Bridge complete\n" echo -e "--> Bridge complete\n"
else else