-
Notifications
You must be signed in to change notification settings - Fork 496
fix: server address cannot be network address #1501
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
base: dev
Are you sure you want to change the base?
Conversation
@pgalonza thanks! Server VPN subnet can be changed from client GUI. Please check that subnet in VPN server config and GUI is the same. |
In this case, the subnet address and wireguard server addresses in the tunnel are different things. Unlike OpenVPN, where the value of the parameter is the subnet. We can also consider the question from another side and change the parameter name in the GUI and make sure the address of wireguard interface doesn't start with a subnet address. My solution is simple and only works when the subnet starts with zero(as it is now by default). I agree, the parameter can be changed in the GUI and it works without in most cases. |
yep, this field called "VPN address subnet" but it's just a AWG/WG server address. I think, that better to make changes in GUI and change a default parameter from "10.8.0.0" to "10.8.0.1". |
@outspace thenk you. I am very glad of the discussion. |
Do you have any objections if I display this in my issue? |
feel free to do it in this PR. |
I have studied the project more thoroughly and realized that we will need both a server address for the Wireguard interface and a subnet address for the iptables rules. Unfortunately, I am not well-versed enough in the codebase to make changes to take this into account, other than as a temporary solution suggested earlier. Perhaps in the future, I will be able to adapt and propose the correct changes if they have not been made by another contributor. |
This solves the issue #1384