hostapd wireguard

Barry Cisna brcisna at gmail.com
Sun Apr 3 10:44:26 PDT 2022


Hello All,

Wireguard setup from local server to a Google Cloud Instance
server,both Debian Bullesye
The local server acts as an ltsp server for thin clients running dnsmasq.
After learning all the MTU settings curves on a WireGuard setup,
everything works correctly,,,almost.
On the bridge interface that has the internal nic and the wlan
attached the ethernet to clients works fine.
the wifi clients gets internet but very very slow
When do a Google speed test the wifi client jumps up,to expected
download speed ,just for a second then falls back down to almost
50kbps. Have tried manually setting the bridge to many different mtu's
trying to see if this helped it did now
Almost certain this has something to do with mtu on the wifi
interface.Wireshark shows now,, no fragmented packets on any
interface.
This is an Intel wifi adapter..

hostapd.conf

interface=wlp3s0
bridge=bridge0
driver=nl80211
country_code=US
ssid=myssid
hw_mode=g
channel=6

/etc/network/interfaces


auto bridge0
auto wlp3s0
auto enp2s0
iface wlp3s0 inet manual
iface enp2s0 inet manual
#iface wlp3s0 inet6 manual
#iface enp2s0 inet6 manual
#bridge setup
iface bridge0 inet static
bridge_ports enp2s0 wlp3s0
    address 192.168.67.1
broadcast 192.168.67.255
netmask 255.255.255.0
post-up iptables-restore < /etc/iptables.up.rules
post-up ip6tables-restore < /etc/ip6tables.up.rules
#    post-up ifconfig wlp3s0 mtu 1460 && ifconfig enp2s0 mtu 1460
# gateway 192.168.67.1
#bridge_stp on

Thank You



More information about the Hostap mailing list