If your phone was sleeping, that could explain the slowness.
But the fact that you are getting ping responses from your iPhone is promising. If you have another computer on your main router, it would be good to ping that.
This suggests that your main router may have blocked this device for some reason... maybe the IP & MAC binding is doing something? Are there any other pages such as firewall rules or MAC address allow/block lists?
yess it was Mac binding.
from an old setup i bind a RPI to .105 and never could remove that for some reason, and the DCHP took that 105 aggh I changed to another one and assigned to dhcp reservation list to .160 and now I have internet!!
I just use a known public dns and I don’t worry too much about it. Or you can specify the system dns based on the other endpoint. However, this is not trivial to set dynamically (I.e when the tunnel is up).
yes openVPN ok I will read some of those docs later.
other question, Im testing speed.
notebook connected to the AP Openwrt with wireless.
VPN OFF openwrt: 37Mb download, 30Mb upload.
VPN ON openwrt: 6Mb download, 7mb upload.
VPN ON but using the app installed notebook: 28Mb download, 2Mb upload.
How or why download speed is so slow with vpn on inside openwrt? is there a way that I can improve?
I tested 10cm close to the AP by wireless.
ISP Max speed 300Mb
Testing with https://www.waveform.com/tools/bufferbloat
Note: the openwrt router Ethernet has max 100Mb and wireless max 300Mb, kind of dumb, I can never reach more than 100Mb, because ethernet makes limit to 100mb (WAN connected to main router)
Not sure why I can't get more than 50mb of regular speed on the openwrt I guess the tplink router is very bad and tiny antena, was designed for traveling so its very small, I guess is because of that.. ?
Unfortunately I never tested the stock firmware before I started right away flashing with Openwrt
Other idea that I have was to make the OpenWRT as repeater from this video https://youtu.be/928iaf374FU , so copy the Wifi from my main router and connect as client to the openwrt to then re-trasmit to another ssid and test speed with that, maybe more than 100mb I can get like that? also i can use the Ethernet port to connect to a device , I never make it work (I guess I know the issue now could be the MAC binding issue that prevent me)
OpenVPN is an older and very cpu intensive vpn protocol. You will not be able to get faster speeds unless you get a much faster router (for OpenVPN, that tends to be in the range of x86 devices to get line rate vpn).
Use wireguard if your vpn provider offers it. Much faster!
Yes - small, inexpensive, power limited device has slow performance, at least by modern standards. Again, a more modern device will perform better.
Don’t even bother with this device. Performance will be very poor.