Hello,
I’ve just set up my first MikroTik and everything works fine. I have also set up pppoe, dhcp & different networks, all is OK and works.
But then I came across a small issue and still haven’t found a solution, neither here on the forum. But I believe it’s a trivial one. I cannot make the filter rules to work and just don’t know why. For example, I want one network to access tcp/8443, but not the second one. Everything else should be dropped.
chain=forward action=accept protocol=tcp src-addres=192.168.10.0/24 src-port=“” dst-port=21,53,80,443,8443
chain=forward action=accept protocol=tcp src-addres=192.168.11.0/24 src-port=“” dst-port=21,53,80,443
;;; Packets ACCEPT
chain=forward action=accept connection-state=established,related,new log=no log-prefix=“”
;;; Packets DROP
chain=forward actoion=drop connection-state=invalid
;;; Drop ANY
chain=forward action=drop
But If I remove the “Packets ACCEPT” rule, nothing works (I have to mention that other input, output, DNS, DHCP rules are above these and are fine).
It doesn’t work either if I add the in-interface
chain=forward action=accept protocol=tcp src-addres=192.168.10.0/24 in-interface=Bridge-VLAN10 src-port=“” dst-port=21,53,80,443,8443
chain=forward action=accept protocol=tcp src-addres=192.168.11.0/24 in-interface=Bridge-VLAN11 src-port=“” dst-port=21,53,80,443
It doesn’t work either i I add the connection-state to a specific rule, for example:
chain=forward action=accept connection-state=established,related,new connection-nat-state=“” protocol=tcp src-address=192.168.10.0/24 in-interface=Bridge-VLAN10 src-port=“” dst port=21,53,80,443,8443 log=yes log-prefix=“”
What am I missing?
I am used to other firewalls and usually I have set up the way “source-address / source-port > destination-address / destination-port > protocol > accept/drop”. So I cannot figure out what shall I do on my MikroTik.
Thanks!