summaryrefslogtreecommitdiff
path: root/etc/hostapd/appliance
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2022-06-26 03:25:16 +0200
committerPÁLI Gábor János <pali.gabor@gmail.com>2022-06-26 03:25:16 +0200
commit6363e7d882f4b494cd374782b23dc2ba4b96ca9f (patch)
tree80a4176dd82b2a8cce847e0649a017e873c9c37b /etc/hostapd/appliance
parent373d8e3dcb62f76a5c2b3608251529c608b98b1d (diff)
downloadfreebsd-wifibox-alpine-6363e7d882f4b494cd374782b23dc2ba4b96ca9f.zip
Expand the configuration hints for hostapd.
Diffstat (limited to 'etc/hostapd/appliance')
-rw-r--r--etc/hostapd/appliance/interfaces.conf.sample14
1 files changed, 10 insertions, 4 deletions
diff --git a/etc/hostapd/appliance/interfaces.conf.sample b/etc/hostapd/appliance/interfaces.conf.sample
index d346368..130790d 100644
--- a/etc/hostapd/appliance/interfaces.conf.sample
+++ b/etc/hostapd/appliance/interfaces.conf.sample
@@ -6,10 +6,10 @@
# of the guest, which is shared with the host. The `gateway` IP
# address should match with the address as it was configured on the
# host, and `address` is the guest's own address. In addition to
-# this, it is recommended to setup a NAT between `wifibox0` and the
-# interface that faces towards the Internet. This can be done with
-# the help of pf(4) for example. Here is sample configuration, see
-# pf.conf(5) for more information.
+# this, it is recommended to setup a Network Address Translation (NAT)
+# on the host between `wifibox0` and the interface that faces towards
+# the Internet. This can be done with the help of pf(4) for example.
+# Here is sample configuration, see pf.conf(5) for more information.
#
# wlan_if="wifibox0"
# lan_if="em0"
@@ -20,6 +20,12 @@
# pass log all
#
# 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
+# pf_enable=YES
iface eth0 inet static
gateway 10.0.0.1