diff options
Diffstat (limited to 'etc/hostapd/appliance/interfaces.conf.sample')
-rw-r--r-- | etc/hostapd/appliance/interfaces.conf.sample | 14 |
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 |