Hello, I found that post https://serverfault.com/questions/451381/which-ports-for-ipsec-lt2p and I want to increase my ports input security. At this moment i have that rules for IPSec/L2TP
chain=input action=accept protocol=udp in-interface=ether1 dst-port=500,1701,4500 log=no log-prefix=""
chain=input action=accept protocol=ipsec-esp log=no log-prefix=""
chain=input action=accept protocol=ipsec-ah log=no log-prefix=""
But in post In post I read “Port 1701 is used by the L2TP Server, but connections should not be allowed inbound to it from outside. There is a special firewall rule to allow only IPSEC secured traffic inbound on this port.”
The question is: How I can translate this rule in MikroTik?
iptables -A INPUT -i $EXT_NIC -p udp -m policy --dir in --pol ipsec -m udp --dport 1701 -j ACCEPT
Thank you guys!