# Monitoring Remote employee activity

**URL:** <https://community.ipfire.org/t/monitoring-remote-employee-activity/6814>\
**Category:** VPNs\
**Created:** [13 December 2021 18:52 UTC](https://community.ipfire.org/t/monitoring-remote-employee-activity/6814 "2021-12-13T18:52:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwensink](https://community.ipfire.org/user_avatar/community.ipfire.org/cwensink/32/9870_2.png) [@cwensink](https://community.ipfire.org/u/cwensink)\
**Post date:** [13 December 2021 18:52 UTC](https://community.ipfire.org/t/monitoring-remote-employee-activity/6814/1 "2021-12-13T18:52:31Z")

</div>

As COVID 19 continues to affect the world, I am facing situations where employees are working from home more and more of the time.

That being said, I want to build in some accountability to ensure that remote employees are working the hours that they say they are. I know there is some logging of when an employee is connected to openvpn. I’m looking for a solution that can generate a hourly/daily/weekly/monthly reports, to capture things like:

-In a 24 hour period hoe many consecutive minutes were they logged into the vpn? How many total minutes?  
-How much traffic did they generate during that time back and forth from the home to the office connection?  
-What websites did they visit  
-What kinds of files did they have open or transfer between the local PC and the remote PC?  
-Was there remote desktop traffic, and if so how long was remote desktop open during the same periods?  
-Capture occasional screenshot of what is on the user’s desktop

I want all of this generating a report, that can be sent to the Administrator, and that employee’s Boss during the time time specified. Essentially I want to see how far the abilities of IPFire can go to duplicate the features of ActivTrack in an open source solution that’s accomplished through scripting and log captures.

Has anyone done anything like this before, or have a solution in place that they would not mind sharing the code / format of it? Can you share best practices for being the administrator for situations like this?

Chris

---

<div class="post-metadata">

**Author:** ![ms](https://community.ipfire.org/user_avatar/community.ipfire.org/ms/32/9344_2.png) [@ms](https://community.ipfire.org/u/ms)\
**Post date:** [13 December 2021 19:05 UTC](https://community.ipfire.org/t/monitoring-remote-employee-activity/6814/2 "2021-12-13T19:05:30Z")

</div>

Are you using OpenVPN? It is under “Logs”.

 ![Screenshot 2021-12-13 at 19.04.26](https://community.ipfire.org/uploads/default/original/2X/7/75cc974928d8c933395876da99e1c93d7d5f86e1.png)

---

<div class="post-metadata">

**Author:** ![pmueller](https://community.ipfire.org/user_avatar/community.ipfire.org/pmueller/32/9019_2.png) [@pmueller](https://community.ipfire.org/u/pmueller)\
**Post date:** [13 December 2021 19:05 UTC](https://community.ipfire.org/t/monitoring-remote-employee-activity/6814/3 "2021-12-13T19:05:37Z")

</div>

Hi,

> [@cwensink](#):
>
> Can you share best practices for being the administrator for situations like this?

apart from technical terms, I _strongly_ recommend to get in touch with your companies’ lawyer and workers’ council _before_ implementing anything that goes into this direction. Depending on the jurisdiction applying to your company and its employees, such a detailed monitoring might be completely illegal or require the approval of the workers’ council, affected employees, or both.

Please do not ignore this warning - it is better to have the legal stuff discussed and approved _in writing_ than doing your boss a favour and get fired and/or sued in the second place for violating laws.

> [@cwensink](#):
>
> Capture occasional screenshot of what is on the user’s desktop

Well, I was asked to supervise the network security of a software doing this at a German company a few years ago (they did this for data leakage prevention, not tracking employees productivity), and turned out to be a legal nightmare even _with_ the explicit approval of the affected people. I’d be surprised to hear this is now easier to do…

To get to technical terms, IPFire can certainly provide some statistics on how long an OpenVPN connection was established, and which amount of traffic was sent and received on it.

> [@cwensink](#):
>
> -What websites did they visit

Having the web proxy enabled, you are able to log this information on a FQDN-basis. Full URLs are not available if HTTPS is used.

> [@cwensink](#):
>
> -What kinds of files did they have open or transfer between the local PC and the remote PC?

This is out of scope to IPFire.

> [@cwensink](#):
>
> -Was there remote desktop traffic, and if so how long was remote desktop open during the same periods?

This might be possible if the remote desktop traffic is distinct from any other network traffic emitted.

> [@cwensink](#):
>
> -Capture occasional screenshot of what is on the user’s desktop

Out of scope as well.

Hope to have helped.

Thanks, and best regards,  
Peter Müller

---

<div class="post-metadata">

**Author:** ![cwensink](https://community.ipfire.org/user_avatar/community.ipfire.org/cwensink/32/9870_2.png) [@cwensink](https://community.ipfire.org/u/cwensink)\
**Post date:** [13 December 2021 21:32 UTC](https://community.ipfire.org/t/monitoring-remote-employee-activity/6814/4 "2021-12-13T21:32:01Z")

</div>

Michael,

I see the area under logs, but on my system I have no entries here, and I have one user currently connected. Does this have to be turned on somewhere first?

 ![image](https://community.ipfire.org/uploads/default/original/2X/3/3ec78edcd0dfd447e12c9157277597def710c1a1.png)

---

<div class="post-metadata">

**Author:** ![jon](https://community.ipfire.org/user_avatar/community.ipfire.org/jon/32/15363_2.png) [@jon](https://community.ipfire.org/u/jon)\
**Post date:** [14 December 2021 03:41 UTC](https://community.ipfire.org/t/monitoring-remote-employee-activity/6814/5 "2021-12-14T03:41:25Z")

</div>

> [@cwensink](#):
>
> but on my system I have no entries here

Change one of the **Day** s. Maybe from the 13th to the 14th.

I think the **Day** 13 and **Month** December = December 13 at 12:00:00. So the current picks (in your above image) are zero seconds long.

Hope this makes sense…

---

<div class="post-metadata">

**Author:** ![ms](https://community.ipfire.org/user_avatar/community.ipfire.org/ms/32/9344_2.png) [@ms](https://community.ipfire.org/u/ms)\
**Post date:** [14 December 2021 09:56 UTC](https://community.ipfire.org/t/monitoring-remote-employee-activity/6814/6 "2021-12-14T09:56:27Z")

</div>

> [@cwensink](#):
>
> Does this have to be turned on somewhere first?

This is on by default.

---

<div class="post-metadata">

**Author:** ![bbitsch](https://community.ipfire.org/user_avatar/community.ipfire.org/bbitsch/32/7420_2.png) [@bbitsch](https://community.ipfire.org/u/bbitsch)\
**Post date:** [14 December 2021 11:36 UTC](https://community.ipfire.org/t/monitoring-remote-employee-activity/6814/7 "2021-12-14T11:36:44Z")

</div>

Now the discussion becomes more and more technical.  
But there are two aspects you should not ignore.

- The legal aspect, see Peter’s answer.
- From the employers/employee relation, I did never understand why _working time_ has more relevance over _done tasks_. With home office this question comes up more and more. You do not employ someone to sit there a certain time of the day, but to do a part of the work of your business.

---

<div class="post-metadata">

**Author:** ![bonnietwin](https://community.ipfire.org/user_avatar/community.ipfire.org/bonnietwin/32/12350_2.png) [@bonnietwin](https://community.ipfire.org/u/bonnietwin)\
**Post date:** [14 December 2021 17:55 UTC](https://community.ipfire.org/t/monitoring-remote-employee-activity/6814/8 "2021-12-14T17:55:02Z")

</div>

Hi Michael,

In the OpenVPN Roadwarrior log you showed there are columns for Connected, Disconnected, Duration, Received and Sent.

In my OpenVPN Roadwarrior log I just get the one column which is Total Connection Time and there is just a single line per connection saying the total time the roadwarrior was connected in the time period selected.

How do you get these different columns displayed?

EDIT:  
Ignore this question. I just found out that if I select just a single connection then I get the more detailed info that was in your screenshot.

---

<div class="post-metadata">

**Author:** ![ms](https://community.ipfire.org/user_avatar/community.ipfire.org/ms/32/9344_2.png) [@ms](https://community.ipfire.org/u/ms)\
**Post date:** [29 August 2025 09:58 UTC](https://community.ipfire.org/t/monitoring-remote-employee-activity/6814/9 "2025-08-29T09:58:47Z")

</div>

A post was split to a new topic: [MaxelTracker Promotion](https://community.ipfire.org/t/maxeltracker-promotion/14563)
