zaneschepke / wgtunnel

An alternative Android client app for WireGuard VPN
https://zaneschepke.com/wgtunnel-docs
MIT License
917 stars 47 forks source link

[BUG] - Amnezia parameters do not remain #329

Closed marek22k closed 1 month ago

marek22k commented 2 months ago

Describe the bug

Hello,

when I import an Amnezia configuration via a file and then edit it, I do not see the extra Amnezia parameters that were in the file.

The same happens when I copy a vanilla WireGuard tunnel, then enter Amnezia parameters there, save it and then edit it again.

(Following https://github.com/zaneschepke/wgtunnel/issues/149#issuecomment-2308394439)

Smartphone (please complete the following information):

Expected behavior The parameters are retained.

Screenshots (Only if necessary)

https://github.com/user-attachments/assets/d4f1280c-18e2-44b4-b9db-256c3e5d4077 https://github.com/user-attachments/assets/397442c5-b16c-425c-8013-b781772333de

(I have cut away the file selection, as it contained personal folders and files, among other things).

Additional context

The VPN connection does not seem to work either. However, it does on my computer.

zaneschepke commented 2 months ago

Hello! I'll take a look at this and see if I can reproduce.

marek22k commented 2 months ago

Edit: Works when Use Amnezia userspace is enabled in Settings.

Edit 2: Even if userspace mode is activated, nothing is displayed for “Init packet junk size” and “Response packet junk size” if these have been saved with the value 0.

alexandervlpl commented 2 months ago

@zaneschepke Importing Amnezia configs is completely broken without Use Amnezia userspace. Tried via file or QR code, none of the Amnezia-specific values are loaded and the tunnel can't connect.

zaneschepke commented 1 month ago

Hello! This should be fixed in the latest nightly. Let me know if there are any further problems and I can reopen.

alexandervlpl commented 1 month ago

Awesome, can't wait for the next F-Droid release!