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

Multi-hop with WireGuard #24

Open
nigelfer2020 opened this issue Dec 9, 2022 · 1 comment
Open

Multi-hop with WireGuard #24

nigelfer2020 opened this issue Dec 9, 2022 · 1 comment

Comments

@nigelfer2020
Copy link

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.

@nigelfer2020 nigelfer2020 changed the title Wireguard Multi-hop with WireGuard Dec 9, 2022
@andy72630
Copy link

Hi,
If you have carefully searched online, (eg. Google) you will find out the author hisself blog has covered what u need already.
https://www.ckn.io/blog/2017/12/28/wireguard-vpn-chained-setup/

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

2 participants