OpenVPN Server Keep Disconnecting

Currently, I am implementing OpenVPN Server on RB1000 ROS v3.28 and I will soon have 500 OpenVPN clients. At this moment, I have 50 OpenVPN clients and I have already a problem.

Today, I had at least 4 times “resets” from the Server RB1000, I mean all (or almost all) VPN Clients got disconnected from the server, it said:

client-user-name logged out
terminating… -nothing received for a while
disconnected

yes, for each client. Even though I was pinging to server knowing that “nothing received for a while” was untrue. But then each client got connected again after some minutes (the log tells).

  • The clients are mikrotik x86 ROS v3.11, v3.28 and Windows XP
  • I use a bridge for client-to-client connection, I tried with or without adding bridge port/eth interface, but same result.

At this moment, I am trying to add “static” entries for each client in ‘/interface ovpn-server’.
Will this help?

Or anybody who has some suggestions, please share.

After more readings, I guess the problem is in the bridge settings.

Here’s what I did:

  • create a bridge
  • create a ppp profile with that bridge
  • all openvpn clients connect and their <ovpn…> virtual interface, automatically added to that bridge

I tried STP and RSTP turned on but with no luck, still disconnecting after some times, I guess it’s caused by bridge looping then cause flooding and then the bridge stops functioning.

Any helps?