Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

wireguard-install.sh: line 183: -4: substring expression < 0 #51

Open
NickTheLim opened this issue Oct 8, 2019 · 5 comments
Open

wireguard-install.sh: line 183: -4: substring expression < 0 #51

NickTheLim opened this issue Oct 8, 2019 · 5 comments

Comments

@NickTheLim
Copy link

wireguard-install.sh: line 183: -4: substring expression < 0

@crimist
Copy link

crimist commented Oct 10, 2019

rm /etc/wireguard/wg0.conf

@tczee36
Copy link

tczee36 commented Oct 15, 2019

rm /etc/wireguard/wg0.conf

would this cause conflict among peers?

say a peer has 10.9.0.4 and wg0.conf gets removed, adding new client also gets 10.9.0.4

@crimist
Copy link

crimist commented Oct 23, 2019

@westz36 It deletes the main config so yes, you will have to setup your peers again.

@tczee36
Copy link

tczee36 commented Oct 23, 2019

@westz36 It deletes the main config so yes, you will have to setup your peers again.

is there a way to fix this without deleting the main config?
thanks!

@crimist
Copy link

crimist commented Oct 25, 2019

@westz36 I'm not sure. You could try to format your existing wg0.conf so that it follows the same format as one generated by this tool; it might fix the parsing issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants