Skip to content

Commit 7bea3f2

Browse files
committed
feat(ovpn rw): add connection history
1 parent 74b58b2 commit 7bea3f2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

openvpn_roadwarrior.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,17 @@ Add these options to the Roadwarrior server configuration ::
185185
/etc/init.d/openvpn restart ns_roadwarrior1
186186

187187
The MTU values may need to be adjusted to fit your specific network environment. A lower MTU ensures packets fit within the limits of the VPN tunnel without fragmentation, but depending on network latency or overhead, slightly different values might be necessary.
188+
189+
Connection history
190+
------------------
191+
192+
Every time a client connects or disconnects from the server, the event is saved inside a SQLite database stored in RAM.
193+
Such event history can be viewed by clicking on tab ``Connection History`` available on the top of the page.
194+
195+
By default the page will display all connections from current day, but it is possible to filter the results by date and time and account name.
196+
197+
To download all history in CSV format, click on the button :guilabel:`Download server history`.
198+
The header of the CSV file explains the meaning of each column, including the units of measure.
199+
200+
Once the server is rebooted, the local history is lost.
201+
If the server is connected to a :ref:`controller-section`, the history is sent to the controller and can be viewed inside the :ref:`historical_monitoring-section`.

0 commit comments

Comments
 (0)