Skip to content

Set Up WireGuard VPN on Ubuntu #3344

@Rajakavitha1

Description

@Rajakavitha1

Based on a comment in DisQus:
Could someone rewrite this so that it is easy to follow?

Device into clearly labeled sections to easily see what is done on server and whats on client.

Have the full configuration files at the end.

I can recommend they you have a look at Microsoft's MSDN documentation where they have more complex topics than this but is understandable.

One more suggestion on DisQus:

Is it possible to just show the .config files for the "server" and the "client", and leave the placeholders intact so I can just replace those? Jumping between 'wg-quick up wg0' and 'wg-quick down wg0'... back and forth between server and client... This is the most confusing linear instructions ever.
And why is it:
AllowedIPs = 10.0.0.2/24, fd86:ea04:1115::5/64
But then:
[Interface]
PrivateKey =
Address = 10.0.1.2

[Peer]
PublicKey =
AllowedIPs = 10.0.1.1
Endpoint = :51820
Is that IP range even consistent with one another? I feel as though the ENTIRE guide should be on a single page, not bouncing back and forth between circular links that only make things more confusing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions