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

Cannot create a working peer and a peer with large subnet. #127

Open
Mefiseru opened this issue May 18, 2024 · 0 comments
Open

Cannot create a working peer and a peer with large subnet. #127

Mefiseru opened this issue May 18, 2024 · 0 comments

Comments

@Mefiseru
Copy link

Hello! I'm stuck on how configure wirehole client to support ip's for final config files in a large subnet like /16 or /8.
I'm also struggled with how to add a peer correctly.
I'm performing this commands to create peer:
'docker', 'exec', 'wg-easy', 'wg', 'genkey'
'docker', 'exec', 'wg-easy', 'bash', '-c', f"echo {private_key} | wg pubkey"
'docker', 'exec', 'wg-easy' f"wg set wg0 peer {public_key} allowed-ips {ip_address}/32

final config file looks like that in my case:
[Interface]
PrivateKey = {private_key}
Address = {ip_address}
DNS = 1.1.1.1

[Peer]
PublicKey = {public_key}
Endpoint = 79.116.49.29:51820
AllowedIPs = 0.0.0.0/0, ::/0

When enabling this config file, internet doesn't work
How do i configure docker to work with large subnet and what's I'm doing wrong with peer creation?

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

No branches or pull requests

1 participant