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

wg.sh: line 176: -4: substring expression < 0 #8

Closed
MuhammadHasham23 opened this issue Jun 16, 2020 · 5 comments
Closed

wg.sh: line 176: -4: substring expression < 0 #8

MuhammadHasham23 opened this issue Jun 16, 2020 · 5 comments
Labels
can't reproduce Dev can not reproduce the error

Comments

@MuhammadHasham23
Copy link

OS: Ubuntu

Issue: cannot enter client name.

@its0x08
Copy link
Owner

its0x08 commented Jun 16, 2020

Can you attach a screenshot?!
Just yesterday used this script to setup 3 Ubuntu servers and 10 clients each.. everything went smooth!
So unless I can see whats wrong with your particular ubuntu I cannot fix anything.
Thank you.

@MuhammadHasham23
Copy link
Author

MuhammadHasham23 commented Jun 16, 2020

image

I have tried with several other names as well.

cc: @its0x08

@its0x08 its0x08 added the can't reproduce Dev can not reproduce the error label Jun 18, 2020
@its0x08
Copy link
Owner

its0x08 commented Jun 18, 2020

Plsease attach the /etc/wireguard/wg0.conf

@its0x08 its0x08 closed this as completed Jun 24, 2020
@MuhammadHasham23
Copy link
Author

Address = 10.0.0.25/32
PrivateKey = <PublicKey>
DNS = 1.1.1.1

[Peer]
PublicKey = <PRIVATE KEY>
Endpoint = 13.71.64.135:51820
AllowedIPs = 0.0.0.0/0

@its0x08
Copy link
Owner

its0x08 commented Jun 24, 2020

I need the first line only, the one that starts with #
you can change the ip to 127.0.0.1 and 192.168.1.1 for privacy reasons..
also dont worry about the key because you will have anyway to regenerate the servers config...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce Dev can not reproduce the error
Projects
None yet
Development

No branches or pull requests

2 participants