-
Notifications
You must be signed in to change notification settings - Fork 107
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
Subnet routing #14
Comments
Writing I think |
Right. Well it still works, but perhaps it's a good idea to either let this script parse AllowedIP so that the address is correctly specified under |
I thought about verifying user input with netaddr, but
|
@voidzero |
@dimon222 Sure. Proposal: if we do not let the script do this via netaddr, let the user manually specify the IP address of the interface with In my proposal, let's say I have two hosts Waldorf and Statler:
Waldorf: would generate:
Statler:
So: keep |
So to be painfully verbose, right now the AllowedIPs of Waldorf configures |
Hi, what a great tool! So convenient.
How can I specify the interface name? For if I want to use something other than wg0.
edit Oh never mind. I see it is done by renaming the config to /etc/wireguard/ifname.conf.
But before I close this, I do wonder about something else: how do I route a subnet with this script? For example, let the host get the IP 10.20.30.1/24 and route 10.20.30.0/24 to it. If you specify the IP then wg-quick on the remote host will complain:
Warning: AllowedIP has nonzero host part: 10.30.0.1/24
Thanks!
The text was updated successfully, but these errors were encountered: