Posted: Tue Dec 14, 2021 4:51 Post subject: Two computers, A uses WG-client, B doesn't.
Hi!
Is it possible to have:
Computer_A, MAC-adress AA:BB:CC:11:22:33, is using a WireGuard-client to connect a WireGuard-server somewhere on the internet.
Computer_B, MAC-adress 11:22:33:AA:BB:CC, connects direct to the internet without using the WireGuard-client.
Joined: 18 Mar 2014 Posts: 12889 Location: Netherlands
Posted: Tue Dec 14, 2021 7:18 Post subject:
Like @kp69 already set we can give better support if you state router model and build number
See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
To answer your question you probably need Policy Based Routing, from the WireGuard Client setup guide:
Quote:
Policy Based Routing (PBR) works by creating multiple routing tables and rules that specify which
routing table to use when certain criteria are met.
Criteria for routing decision can be source- and destination address, port, interface, fwmark etc. see:
ip rule man page
I'm quiet new to using dd-wrt and I haven't set up the router yet. My plan is(if it possible) set up the two or more computers. Computer_A is the only computer to use WireGuard client.
Joined: 04 Aug 2018 Posts: 1447 Location: Appalachian mountains, USA
Posted: Wed Dec 15, 2021 1:01 Post subject:
Guys, I don't believe the OP involves a router. _________________ 2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.