I have never needed to change the MTU size to get the VPN working. I already tried changing the MTU size manually, but as expected, that didn’t make a change. Additionally, my VPN provider (StarVPN) does not recommend setting the MTU manually.
Here’s the situation:
Scenario 1: VPN off, router connected to my home Internet connection - Working
Scenario 2: VPN on, router connected to my home Internet connection - Working
Scenario 3: VPN off, router connected to Android device with USB tethering - Working
Scenario 4: VPN on, router connected to Android device with USB tethering - Not working
Additionally:
Router came with firmware 4.0.3 preinstalled → Scenario 4 was working
I upgraded to firmware 4.1.0 → Scenario 4 stopped working
I downgraded to firmware 4.0.3 → Scenario 4 still not working.
Reset back to factory settings → Scenario 4 still not working
Happy to share my Wireguard config file if this is needed.
I mean…it worked with the pre-installed 4.0.3 firmware, and I used the VPN for about ten minutes. I even turned on/off my Internet connection on the Android device to confirm that it was actually getting connectivity from USB tethering. Problems started as soon as I upgraded to 4.1.0.
Android device is connected to the same Internet connection as in scenario 1 and 2, so this is not a carrier network issue.
How do I share it to you? Can you provide an email?
Today I worked with @hectorricardo to solve the problem. Several problems are identified.
The wireguard config from Starvpn use domain name as endpoint. The domain resolves to several IP addresses. Different network will resolve to different IP address. Some IP addresses does not work. When hard core to certain IP address, it works OK. So this is definately a problem of Startvpn. This is verified on windows pc as well.
Two bugs identified on our firmware: (a) The firmware does not work well with two IP address in wireguard config; (b) not be able to edit wireguard config in @hectorricardo’s macbook browser. I can edit in my Chrome though.
You can pm me your wireguard config, detailed network setup and issues to check. If the problem is you cannot connect to Wireguard at all, I think I can find the problem quickly.
Sorry I don’t see how to PM on this forum. Am I have Pms disabled?
As for the configuration - I have set up Wireguard VPN on Raspberry using pivpn scripts. The raspberry is at my home network behind NAT, so I set up port forwarding for TCP/UDP. Wireguard uses non default port (but from very same range).
Moved AXT1800 out of home network and tried to connect - got REKEY-TIMEOUT. Thought something wrong with port forwarding, so brought it home, changed server name to local IP (192.168.1.x), tried same - got same response REKEY-TIMEOUT.
Then I decided to test the VPN - installed Wireguard client on my laptop, used same config as on AXT-1800 - and it connected in a second. Wireguard client on laptop works even when I am outside of local network, so port forwarding proved to be working fine.
At home AXT1800 is connected via WiFi to local network(192.168.1.x). All devices are connected to AXT1800 network (192.168.8.x), there is no problem in connectivity whatsoever.