From 51b3ad35e4ac0505f4bbb3a5e07eabce14ff48d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=81LI=20G=C3=A1bor=20J=C3=A1nos?= Date: Sun, 26 Jun 2022 21:15:14 +0200 Subject: Keep expanding the hostapd configuration hints. --- etc/hostapd/appliance/interfaces.conf.sample | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'etc/hostapd/appliance') 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 -- cgit v1.2.3