Installation
- apt install bridge-utils hostapd
Forward
- /etc/sysctl.conf
net.ipv4.ip_forward = 1
Interfaces
- /etc/network/interfaces
auto vmbr0
iface vmbr0 inet static
address 10.10.10.1
netmask 255.255.255.0
dns-nameservers 10.80.100.103
dns-search hack.lab
bridge_ports none
bridge_stp off
bridge_fd 0
bridge_maxwait 0
hostapd
interface=wlan0
bridge=vmbr0
driver=nl80211
ssid=CHEWINGGUM
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=9twin-towers11
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
- systemctl unmask hostapd
- systemctl enable hostapd --now
Links