F
F
FelixKrab2022-03-12 19:19:45
Mikrotik
FelixKrab, 2022-03-12 19:19:45

Mikrotik How to separate wan and lan traffic to send one via wireguard?

Hello, I need to separate devices to access the Internet through a secure tunnel, but in order to save traffic, I need to let through wireguard the output of only those devices that are connected via lan ...
What actions need to be taken so that all connected devices via Wi-Fi go out directly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2022-03-12
@karabanov

Make a separate bridge for Wi-Fi and a separate DHCP with a separate address pool.
Exclude the wlan interface/sy from the bridge which is for LAN and add them to the bridge which is for Wi-Fi Configure
NAT
In the firewall settings, use Mangle to mark the traffic from the LAN and wrap only it in wireguard

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question