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

Package wg-quick #54

Closed
samip5 opened this issue Nov 1, 2020 · 3 comments
Closed

Package wg-quick #54

samip5 opened this issue Nov 1, 2020 · 3 comments
Labels
wontfix This will not be worked on

Comments

@samip5
Copy link

samip5 commented Nov 1, 2020

I would request to also include wg-quick utility in this.

@FossoresLP
Copy link
Collaborator

FossoresLP commented Nov 3, 2020

Hi @samip5,
wg-quick is currently not included because it would conflict with the intended configuration mechanism of this package.
I would consider it's use discouraged and unsupported on EdgeOS.
You can always add wg-quick very easily yourself as it is a simple script you can copy from the official repository.

@samip5
Copy link
Author

samip5 commented Nov 3, 2020

Can you please explain how can I do equilevant config to this wg-quick config, but in a EdgeOS supported way?
I need to be able to set the actual peer address for it.

[Interface]
PrivateKey = <snip>
# PublicKey = KGz965B7iQWUa9lgDU+ocUoWP9pBWE+Tm/7uiq7iVHY=
Address = 172.22.114.97/32,fe80::21b:42ff:42bb:2db0/64
PostUp = /usr/sbin/ip addr del dev no_trd_burble 172.22.114.97/32 && /sbin/ip addr add dev no_trd_burble 172.22.114.97/32 peer 172.20.129.185/32
PostUp = /usr/sbin/ip addr del dev no_trd_burble fe80::21b:42ff:42bb:2db0/64 && /sbin/ip addr add dev no_trd_burble fe80::21b:42ff:42bb:2db0/128 peer fe80::42:2601:39:1/64
ListenPort = 52601
Table = off

[Peer]
PublicKey = PC0ZAVLrmbbgPRkcbUry4vFKbo6uWdFdL4gTrxE1sTY=
Endpoint = <snip>
PersistentKeepalive = 560
AllowedIPs = 172.16.0.0/12, 10.0.0.0/8, fd00::/8, fe80::/10

@FossoresLP
Copy link
Collaborator

You can set post-up scripts using up-command.
For details take a look at the following commit: 3f3aa6e

@FossoresLP FossoresLP changed the title Package wireguard-tools Package wg-quick Nov 14, 2020
@FossoresLP FossoresLP added the wontfix This will not be worked on label Nov 14, 2020
@samip5 samip5 closed this as completed Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Development

No branches or pull requests

2 participants