reorganize, start arp proxy
This commit is contained in:
parent
af84822358
commit
1303c7974f
|
@ -8,10 +8,10 @@ while [ -L "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symli
|
|||
done
|
||||
DIR=$(cd -P "$(dirname "$SOURCE")" >/dev/null 2>&1 && pwd)
|
||||
|
||||
if [[ -f "$DIR/../config/config.sh" ]]; then
|
||||
. "$DIR/../config/config.sh"
|
||||
if [[ -f "$DIR/../../config/nat-config.sh" ]]; then
|
||||
. "$DIR/../../config/nat-config.sh"
|
||||
else
|
||||
echo "$DIR/../config/config.sh missing!"
|
||||
echo "$DIR/../../config/nat-config.sh missing!"
|
||||
exit 1
|
||||
fi
|
||||
|
|
@ -11,10 +11,10 @@ while [ -L "$SOURCE" ]; do
|
|||
done
|
||||
DIR=$(cd -P "$(dirname "$SOURCE")" >/dev/null 2>&1 && pwd)
|
||||
|
||||
if [[ -f "$DIR/../config/config.sh" ]]; then
|
||||
source "$DIR/../config/config.sh"
|
||||
if [[ -f "$DIR/../../config/nat-config.sh" ]]; then
|
||||
source "$DIR/../../config/nat-config.sh"
|
||||
else
|
||||
echo "$DIR/../config/config.sh missing!"
|
||||
echo "$DIR/../../config/nat-config.sh missing!"
|
||||
exit 1
|
||||
fi
|
||||
|
|
@ -11,10 +11,10 @@ while [ -L "$SOURCE" ]; do
|
|||
done
|
||||
DIR=$(cd -P "$(dirname "$SOURCE")" >/dev/null 2>&1 && pwd)
|
||||
|
||||
if [[ -f "$DIR/../config/config.sh" ]]; then
|
||||
. "$DIR/../config/config.sh"
|
||||
if [[ -f "$DIR/../../config/nat-config.sh" ]]; then
|
||||
. "$DIR/../../config/nat-config.sh"
|
||||
else
|
||||
echo "$DIR/../config/config.sh missing!"
|
||||
echo "$DIR/../../config/nat-config.sh missing!"
|
||||
exit 1
|
||||
fi
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
# Name of the Ethernet interface that the bridged client will plug into.
|
||||
# This will be your LAN port.
|
||||
ETH_IFACE="enp0s31f6"
|
||||
|
||||
# Name of the WiFi interface that will connect to the wider network.
|
||||
# This will be your WAN port.
|
||||
WLAN_IFACE="wlxc8d7193710f4"
|
||||
|
||||
# Name of the WiFi network to connect to.
|
||||
WIFI_SSID="Example-Network"
|
||||
|
||||
# "psk": WPA2-PSK auth.
|
||||
# "peap": WPA2-Enterprise in PEAP mode. Make sure to fill out the RADIUS login details below.
|
||||
# WIFI_AUTH_MODE="peap"
|
||||
# TODO: implement psk mode
|
||||
|
||||
# RADIUS login
|
||||
WIFI_USERNAME="username"
|
||||
WIFI_PWD="password"
|
||||
|
||||
# Make this port accessible on the router and have its SSH server on it.
|
||||
# The installer will modify the SSH server's config for you.
|
||||
ROUTER_SSH_PORT=64535
|
||||
|
||||
# "transparent": the bridge device clones the client's MAC address and NATs traffic to a private LAN. Only supports one bridged client.
|
||||
# TODO: support bridging multiple clients connected to an ethernet hub
|
||||
# BRIDGE_MODE="transparent"
|
||||
|
||||
# Don't prompt the user for confirmation
|
||||
NON_INTERACTIVE=false
|
Loading…
Reference in New Issue