Hello!
I’ve came across to a small finetune:
I have here a virtual bridge “vpn-clients-vbridge” with an assigned IP Address “192.168.200.1/24”.
This virtual bridge is part of an interface list of “LAN” along with the physical bridge:
/interface list member
add comment=defconf interface=bridge list=LAN
add interface=vpn-clients-vbridge list=LAN
I also have a firewall filter rule:
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
in-interface-list=!LAN log=yes
And Tik is operating on this domain:
/ip address
add address=192.168.2.1/24 comment=defconf interface=bridge network=\
192.168.2.0
When my phone connects to the Tik with VPN, it accesses all the local area servers, and printers (192.168.2.x).
However, my phone is not able to access the Tik itself (via the Mikrotik app), with IP 192.168.2.1.
I added this to the filter list (before the drop rule above):
add action=accept chain=input comment=\
"defconf: accept all traffic from vpn-clients" src-address-list=\
vpn-clients
(vpn-clients list only has one single item: 192.168.200.0/24)
After the addition of this, my phone is able to connect to Tik (192.168.2.1) via VPN.
My question: the “drop filter” above seems dropping my connection as the in_interface is not the virtual bridge, but the wan interface.
It seems that virtual bridge is not used anywhere, can I (should I) somehow make IPSec to use the virtual bridge as source of remote VPN clients?
Thank you!