Configure single DHCP client to use wireguard

I plan on installing Wireguard on my router to act as a client which can connect to my VPN server elsewhere. I don't want my entire LAN using the VPN though. Instead, I only want a single DHCP client to route traffic through it. How can I achieve this? I'm unsure if it's a change to a static route, firewall, or something else.

Thanks for the help!

You should use VPN Policy-Based Routing.

2 Likes

A combination of rule and route can do the trick too.

1 Like