I have been experiencing some very problematic behavior with ROS 7.1.3. Whenever I create an OVPN client, add any firewall rules and then try to send a TCP packet over the VPN tunnel, the router crashes and kernel panics. The behavior only seems to occur on the CCR1009 and I have confirmed this is a problem on 2 seperate routers. Other routers (RB2011, HeX) do not exhibit this behavior.
In order to replicate, I take the default configuration, add a dhcp client (to get internet):
/ip dhcp-client add interface=ether2
and add a single firewall rule
/ip firewall filter add action=accept chain=input
And then try to telnet to the VPN server (over the VPN):
/system telnet 10.2.1.130 port=179
At this point the router kernel panics, and reboots. I can ping across the tunnel no problem, the issue seems to be limited to TCP packets
If I remove all firewall rules, I am able to telnet to the server without issue. if the firewall rule is disabled (but still present) the same kernel panic happens.
I think this is a fairly serious bug and I have not yet managed to find a workaround (other then removing all firewall rules, which is not possible due to security concerns)
As an update to this, the issue seems to occur when connection tracking is enabled (set to on, or auto) in the firewall settings. Unfortunately I need connection tracking enabled on this router to do NAT.
The issue occurs regardless if TCP or UDP protocol is used and regardless of what encryption settings are used on the tunnel
Just to keep posting updates as I find them, Fixing the TCP issue has uncovered a new issue. Any packets that enter through an OVPN interface (all packets, ICMP, TCP, UDP) and try to egress through a bridge interface also cause a kernel panic. Disabling connection tracking has no effect and I have been unable to come up with a workaround.
Hopefully Mikrotik will be able to fix these critical bugs with OVPN on the CCR routers.
I had the same problem with the update of my CCR1009 to version 7.1.3 “stable” where this failure occurs when I change the ovpn protocol from tcp to udp the routeros crashes and it is necessary to recover via netinstall.
In my case I was able to recover by disconnecting the WAN interface so the tunnel was never able to establish, might be something to try if you need to recover again.
I have received some beta firmware from Mikrotik which solves the firewall issue, and another piece of beta firmware which is supposed to resolve the bridge issue, but I have not tested the second one yet. Hope to do so this weekend.
I believe it wouldn’t solve, with access via serial it presents a Kernel Panic message and restarts, I’m a little afraid to perform a new update, yesterday the “stable” version 7.1.4 came out, today they released "7.15