[Problem] Monitoring tunnels OpenVPN with Dude

Hello all.

I think I’m experiencing a bug of the Dude. We monitor him over 50 OpenVPN tunnels, and it associates an “id” for each of them. When the RouterBOARD is restarted, it does not keep correct tunnels on each device as the internal id is changed.

Look this example:

When RB is restarted, this tun13 is changed because the internal id 48 is changed (he should keep it!).

Any tips? Thanks!

I had seen a similar behavior with monitoring dynamic vpn interfaces. since I changed them to static in Winbox I’ve been able to monitor all its metrics with Dude, even after hardware restart or reconnects. I am not sure how this applies to your scenario, but maybe it’s something for you to look at.

Where can I change to static?

Thanks.

In Winbox go to Interfaces and manually add OVPN Client interface. Once done I recommend to disconnect and remove your existing dynamic OVPN Client in order for the new configuration to take effect.

http://imgur.com/mGzeBFa.png

Hello, I will illustrate the scenario.

Interfaces of Dude Server:

Main screen of Dude:

In the server, the tunnels are like this (OpenVPN):

tun9 - 192.168.9.1
tun10 - 192.168.10.1
tun11 - 192.168.11.1
[…]

This method serves for this scenario?