A
A
antonwx2021-08-17 13:31:29
Mikrotik
antonwx, 2021-08-17 13:31:29

Mikrotik: how to set a rule that allows incoming DST-NAT connections?

Actually, now I have to allow every incoming port in the firewall in addition to every rule like DST-NAT (port forwarding). Once upon a time, I came across a rule that allows these ports to be passed automatically. But now I can't find this rule for the life of me. Tell me, somebody.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2021-08-17
@antonwx

Parvilo from the default settings of the MikroTIK firewall:

/ip firewall filter
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN

I recommend supplementing the default rules with your own if necessary, rather than writing them from scratch.

G
Gregory, 2021-08-17
@Maxlinus

config show

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question