You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, subspace creates wg0 device and configuration files for clients always wg0.conf.
I would like to change.
Describe the solution you'd like
add --device-name=<string> flag to subspace command and change config filename to (device name).conf.
I believe device name and config file name should be the same to avoid confusion.
Describe alternatives you've considered
I don't have any plan B.
The text was updated successfully, but these errors were encountered:
rkul
linked a pull request
Jun 25, 2021
that will
close
this issue
I understand that this issue is stale and might not be relevant for you anymore, but it might be useful for others.
You don't really need to name the interface wg0 and can set it to arbitrary string.
For example:
root@test:~# cat > /etc/wireguard/myproject.conf
[Interface]
PrivateKey = ...
Address = 172.17.2.5/24,fd00::172:172:5/112
[Peer]
PublicKey = hWUsaGJslnbMqaco1pxXU3s1XVDuNd76Dy5Bflr7NwY=
Endpoint = my.server.io:51820
AllowedIPs = 10.10.0.0/16
root@test:~# wg
root@test:~# wg-quick up myproject
[#] ip link add myproject type wireguard
[#] wg setconf myproject /dev/fd/63
[#] ip -4 address add 172.17.2.5/24 dev myproject
[#] ip -6 address add fd00::172:172:5/112 dev myproject
[#] ip link set mtu 8921 up dev myproject
[#] ip -4 route add 10.10.0.0/16 dev myproject
root@test:~# wg
interface: myproject
public key: W+bQMDUdnrRYJ6QNQ8MlqIU0sz5FZnPLP3Buxg2h0Vw=
private key: (hidden)
listening port: 44259
peer: hWUsaGJslnbMqaco1pxXU3s1XVDuNd76Dy5Bflr7NwY=
endpoint: 35....17:51820
allowed ips: 10.10.0.0/16
Is your feature request related to a problem? Please describe.
Currently, subspace creates
wg0
device and configuration files for clients alwayswg0.conf
.I would like to change.
Describe the solution you'd like
add
--device-name=<string>
flag to subspace command and change config filename to(device name).conf
.I believe device name and config file name should be the same to avoid confusion.
Describe alternatives you've considered
I don't have any plan B.
The text was updated successfully, but these errors were encountered: