I configured my RPI as a wifi repeater (using
dnsmasq). When I download something to my pi I have a downstream up to 1.5 MB/s. On my device connected to the pi the downstream is only about 500 KB/s.
When I download local files from my pi, it works with up to 3 MB/s, so I think it is not an issue with my access point.
I'm using a Raspberry Pi 1 Model B with two USB to wifi adapter.
Why do I lose so much internet speed? Have I configured something wrong?
interface wlan0 static ip_address=192.168.42.1/24 nohook wpa_supplicant
Iptables (wlan0 is the AP, wlan1 connects to the internet)
iptables -t nat -A POSTROUTING -o wlan1 -j MASQUERADE iptables -A FORWARD -i wlan1 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -i wlan0 -o wlan1 -j ACCEPT