summaryrefslogtreecommitdiff
path: root/etc/hostapd/appliance
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2022-06-26 21:15:14 +0200
committerPÁLI Gábor János <pali.gabor@gmail.com>2022-06-26 21:15:14 +0200
commit51b3ad35e4ac0505f4bbb3a5e07eabce14ff48d7 (patch)
treed0dc3c1796098983c3412a8c4e3430773b8c9520 /etc/hostapd/appliance
parent6363e7d882f4b494cd374782b23dc2ba4b96ca9f (diff)
downloadfreebsd-wifibox-alpine-51b3ad35e4ac0505f4bbb3a5e07eabce14ff48d7.zip
Keep expanding the hostapd configuration hints.
Diffstat (limited to 'etc/hostapd/appliance')
-rw-r--r--etc/hostapd/appliance/interfaces.conf.sample15
1 files changed, 12 insertions, 3 deletions
diff --git a/etc/hostapd/appliance/interfaces.conf.sample b/etc/hostapd/appliance/interfaces.conf.sample
index 130790d..24d351c 100644
--- a/etc/hostapd/appliance/interfaces.conf.sample
+++ b/etc/hostapd/appliance/interfaces.conf.sample
@@ -22,10 +22,19 @@
# Change these values as desired, they are here only for inspiration.
# Note that configuring the NAT requires the IP packet forwarding to
# be enabled as well. This could be done for example by adding
-# `gateway_enable=YES` to rc.conf(5).
+# `gateway_enable="YES"` to rc.conf(5) along with `pf_enable="YES"`.
#
-# gateway_enable=YES
-# pf_enable=YES
+# gateway_enable="YES"
+# pf_enable="YES"
+#
+# The gateway address on the host should be brought up by assigning an
+# IP address for the `wifibox0` network interface. For example,
+# adding the following line to rc.conf(5) will implement this.
+#
+# ifconfig_wifibox0="inet 10.0.0.1/24"
+#
+# The specified address could be then set for `gateway` at the
+# definition of `eth0`.
iface eth0 inet static
gateway 10.0.0.1