Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict option is not working properly #335

Open
Mortezajl opened this issue Aug 23, 2024 · 14 comments
Open

Restrict option is not working properly #335

Mortezajl opened this issue Aug 23, 2024 · 14 comments
Labels
bug Something isn't working

Comments

@Mortezajl
Copy link

Hello sir♥️
First of all, thank you very much for the panel you made and provided to us.
My problem is that when I activate the restrict option for a user and then deactivate it, that user is deleted from my panel.

@Mortezajl Mortezajl added the bug Something isn't working label Aug 23, 2024
@donaldzou
Copy link
Owner

Hello sir♥️

First of all, thank you very much for the panel you made and provided to us.

My problem is that when I activate the restrict option for a user and then deactivate it, that user is deleted from my panel.

Hi! I'm glad you liked it! I'm wondering are you using the latest version?

@donaldzou
Copy link
Owner

RPReplay_Final1724395741.mov

Hi! I did a testing on the latest version, and it works fine. If it is still not working for you after installing the latest version, could you please run it in .wgd.sh debug and let me know what’s the output is in your terminal please?

@donaldzou
Copy link
Owner

I see, may I know how do you back it up?

@Mortezajl
Copy link
Author

Mortezajl commented Aug 23, 2024

Screenrecorder-2024-08-23-11-31-54-22.mp4

Yes, you are right, but this problem only happens in the backup files that I placed in the Wireguard path,and throws me out of the panel.

@Mortezajl
Copy link
Author

I copied the private key and wg0 and placed them in the new server. I used to do this easily in the previous version.

@donaldzou
Copy link
Owner

Will this issue happen if you create the configuration through WGDashboard with the same key and other settings?

@Mortezajl
Copy link
Author

I did not configure from within the dashboard because I had many users in the previous panel, in version 3.0.6 I set the interface manually like this:
IMG_20240823_121700

@Mortezajl
Copy link
Author

What do you suggest for backing up and transferring users from the previous panel to version 4?

@donaldzou
Copy link
Owner

Ohhhhhkay, let me try this on my side since you mentioned a lot of peers.. maybe is a bug?

@donaldzou
Copy link
Owner

What do you suggest for backing up and transferring users from the previous panel to version 4?

Honestly I think you're doing the right thing.. I don't see any problems with it but still let me do some testing and I'll let you know :)

@donaldzou
Copy link
Owner

Hi! I tested on my side and even simulated what you provided in the screenshot.. It still works perfectly fine.. maybe it was hidden on your mobile UI?

@Mortezajl
Copy link
Author

Hi,maybe,i will test it again.
Thank you♥️

@donaldzou
Copy link
Owner

@Mortezajl Is it working?

@Mortezajl
Copy link
Author

Hi dear Donald, I changed my users backup file to one user and it worked without any problem..I think the problem is the preshared key and private key of each user, which is not shown in the new panel after restoring..
How can I transfer the name and preshared key and private key of each user?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants