Is it possible to block-non vpn traffic on specific device (MAC address)

Got it working! chatgpt + this thread + your direction to use custom firewall rules.
I have a working iptables rule that drops the device when wgclient fails/is offline.

iptables -I FORWARD -m mac --mac-source 66:2D:BF:64:EA:62 ! -o wgclient -j DROP

It would of been nice to see it in the GUI but hey it works now, I’m not complaining anymore!
Thanks for the help!

2 Likes