Community discussions

MikroTik App
 
microali
just joined
Topic Author
Posts: 1
Joined: Mon Apr 10, 2023 2:47 am

single wireguard for all client

Mon Apr 10, 2023 3:07 am

I have a few devices like laptop , mobile , pc and I have wireguard installed in all of them with different config that they connect to same wireguard server . but I want to config a single wireguard on my router ( RB2011 Ui AS - 2Hnd-IN ) so all my device can connect to router and without running or installing wireguard send their data through wireguard vpn installed on my router . and if possible some site goes through wireguad and some of them not
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19371
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: single wireguard for all client

Mon Apr 10, 2023 11:34 pm

Draw a network diagram of desired network
Make a plan, and detail the user requirements clearly
a. identify user/server or groups of users, including admin
b. identify what traffic flow they need.

You will need
one wireguard interface on router with an IP address.
All clients get assigned a wireguard IP within the subnet

You will need appropriate firewall rules on input chain and forward chain
You may need IP routes but only if another router is in the mix........

Read: viewtopic.php?t=182340

Who is online

Users browsing this forum: Ahrefs [Bot], In4MatiC88 and 131 guests