Skip to content

Multi-hop with WireGuard #6

@nigelfer2020

Description

@nigelfer2020

Hello,

I just installed WireGuard with UI on two different virtual private servers (https://github.com/ngoduykhanh/wireguard-ui/).
Everything is working properly and has been independently tested on both servers, and clients will connect to the VPN without issue. The internet was also working properly during their connection.

I want to run the following configuration (Multi-hop with WireGuard or Chaining Servers with WireGuard):
Client → Server1 → Server2 → Public Internet

For example
Client (IP: 123.123.123.1) → VPN1 (VPS1: 90.90.90.1) → VPN2 (VPS2: 80.80.80.1) → Google.com (assumes the user's IP address is 80.80.80.1).

Now here are my questions:

  1. All configurations are detailed step-by-step on VPS1 to route all traffic to VPS2.
  2. All configurations are detailed step-by-step on VPS2.

NOTES:

  • The operating system on VPS1 and VPS2 is Ubuntu 20.04.
  • VPS1 and VPS2 are on different networks, so authentication may be required to connect them together, and I do not know how.
  • I know it's possible with IP routing, but I don't have detailed step-by-step instructions.

I would be grateful if you could guide me in full detail.

Also, if it is possible for you to make the configurations for me on both servers and also send the description of the steps in a document or video, I can pay the fee you declare via crypto-currency, PayPal, etc.

Thank you.

Regards,
Nigel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions