Hello community ![]()
We currently have the problem that the IPsec connection simply doesn’t work any more at some point. It does not work again until the router is restarted.
Router model:
RouterBOARD 3011UiAS
RouterOS version:
6.42.9
Here is the IPsec configuration:
/ip ipsec mode-config
add address-pool=dhcp_ipsec address-prefix-length=32 name=cfg_roadwarrior static-dns=192.168.111.1 system-dns=no
/ip ipsec proposal
set [ find default=yes ] auth-algorithms=sha256,sha1 enc-algorithms=aes-256-cbc pfs-group=none
/ip ipsec peer
add address=0.0.0.0/0 auth-method=rsa-signature certificate=IPsec-Server dh-group=modp2048 enc-algorithm=aes-256 exchange-mode=ike2 generate-policy=port-strict hash-algorithm=sha256 mode-config=cfg_roadwarrior passive=yes
/ip ipsec policy
set 0 dst-address=192.168.114.0/24 src-address=0.0.0.0/0
Here is the firewall filter configuration:
/ip firewall filter
add action=drop chain=input comment="drop bogons" in-interface-list=wan ipsec-policy=in,none src-address-list=private
add action=accept chain=input comment="accept established,related" connection-state=established,related
add action=accept chain=input comment="IPsec IKE exchange" dst-port=500,4500 in-interface=ether2_wan protocol=udp
add action=accept chain=input comment="accept IPsec DNS" dst-port=53 ipsec-policy=in,ipsec protocol=udp
add action=accept chain=input comment="accept IPsec WinBox" dst-port=8291 ipsec-policy=in,ipsec protocol=tcp
add action=accept chain=input comment="accept ICMP" protocol=icmp
add action=drop chain=input comment="drop all from WAN" in-interface-list=wan
add action=accept chain=forward comment="accept established,related" connection-state=established,related
add action=accept chain=forward comment="accept IPsec traffic" ipsec-policy=in,ipsec
add action=drop chain=forward comment="drop invalid connection" connection-state=invalid
add action=drop chain=forward comment="drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=wan
Does anyone have any idea what the problem might be?