Routing only for the selected device to the Wireguard interface

Dear all,

I Have:
4 devices at my network
1 mikrotik router

WAN interfaces:

  1. Wireguard
  2. ISP

What I need?
I need to configure Mikrotik router:

  1. Routing for device #1 should be via Wireguard interface (blue color at the schema)
  2. Routing for all other devices should be via ISP interface (yellow color at the schema)

Could you help to prepare configuration for this case?
Screenshot 2023-11-06 at 13.45.22.png

Conceptually
this can be done using routing rules

/routing rules
add dst-address=192.168.88.0/24 action=lookup-only-in-table table=main { so user can still reach or respond to local traffic }
add src-address=192.168.88.245 action=lookup table=useWG

/routing table
add fib name=useWG

/ip route
add dst-address=0.0.0.0/0 gateway=wireguard1 routing-table=useWG

You dont say what type of Wireguard Server???
If its a third party one,

if so then you should ensure you have
add chain=srcnat action=masquerade out-interface=wireguard1

Guys! I’ve similar case… I c this topic is old but I will ask anyway.

  1. my client/ip witch I want to pass traffic through vpn:
192.168.0.222
  1. my vpn tunnel from mikrotik to vps local address:
10.0.0.2

What I need to do this case? How to make all traffic from

192.168.0.222

go through VPN?

Why are you so rude to interfere with another persons thread??
Could you at least not wait for the resolution so we are dealing with one problem at a time.
OR better start your own thread.

By the way the answer to your question was already provided in my posts above.
If you need further assistance read this → https://forum.mikrotik.com/viewtopic.php?t=182340

Dude, u are not hospitable at all, firstly, I said above that the topic is old, I was just mistaken, and it seemed to me that the last answer was a year ago, 2022, secondly, who or what is stopping me from asking normally in a topic in which a person solves EXACTLY the same problem as me? Wth? :smiley: