I'm using state based routing using iptables and a single user on a shared machine sometimes uses a VPN to get resources not available in our physical location. However, this is very annoying because, even though only one user is using the VPN, it still changes the system clock for the whole machine which makes it so APT doesn't work as well as other oddities.
Reading package lists... Done
E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease is not valid yet (invalid for another 3h 41min 34s). Updates for this repository will not be applied.
E: Release file for http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease is not valid yet (invalid for another 5h 44min 0s). Updates for this repository will not be applied.
W: https://apt.sonarr.tv/ubuntu/dists/focal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease is not valid yet (invalid for another 1h 24min 36s). Updates for this repository will not be applied.
Date as run from the shared machine:
Tue Jun 20 12:31:34 PM MDT 2023
Date as run from a machine that has the correct time:
Tue Jun 20 06:32:06 PM MDT 2023
Is there a parameter that I need to add to my openvpn client to not change my system clock?