Wireguard

Hi,
I use Wireguard on my mikrotik but VPN now works on all interfaces, but i need VPN only on 1 computer ( 192.168.2.15, interface bridge3) can u help please

Hi,
To restrict the WireGuard VPN to only work on one computer (192.168.2.15 on interface bridge3), you can create a firewall rule that allows VPN traffic only for that specific IP and blocks it for others.

Something like:
/ip firewall address-list add list=WG-Allowed-IPs address=192.168.2.15
/ip firewall filter add chain=input action=accept src-address-list=WG-Allowed-IPs protocol=udp dst-port= comment=“Allow WireGuard for 192.168.2.15”
/ip firewall filter add chain=input action=drop protocol=udp dst-port= comment=“Drop WireGuard for others”

it doesnt work :frowning:
ive used this to config wireguard on my router https://www.vpnunlimited.com/help/manuals/wireguard-vpn-configuration-for-mikrotik-router

my config

Sooo many questions, so little information.

Please provide network diagram, purpose of the VPN and an export of the current config:

/export file=anynameyoulike

Remove serial and any other private info, post in between code tags by using the </> button.

ok i solved the problem

ok i solved the problem
https://www.reddit.com/r/mikrotik/comments/13kdpbc/comment/jkjx7rz/?utm_source=share&utm_medium=web2x&context=3