Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-18 Thread Bo Berglund
On Sat, 18 Jun 2022 22:00:20 +, tincantech via Openvpn-users wrote: >You haven't found the file that you were looking for .. Then it does not exist on my Ubuntu system since I searched the whole disk from the root: sudo find / -name "openvpn-server*" Presumably this will find *all* files s

Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-18 Thread tincantech via Openvpn-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, --- Original Message --- On Saturday, June 18th, 2022 at 22:20, Bo Berglund wrote: > On Sat, 18 Jun 2022 20:01:10 +, tincantech via Openvpn-users > openvpn-users@lists.sourceforge.net wrote: > > > > > If you want your log-file to

Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-18 Thread Bo Berglund
On Sat, 18 Jun 2022 20:01:10 +, tincantech via Openvpn-users wrote: >> > If you want your log-file to contain time-stamps then edit the file: >> > /lib/systemd/system/openvpn-server@.service >> > remove '--supress-timestamps' >> >> >> I cannot find such a file... > >Well, you now know the sol

[Openvpn-users] Force all DNS queries over VPN

2022-06-18 Thread Ian Pilcher
I've got a simple OpenVPN setup that allows me to connect to my home network while traveling. I am using the redirect-gateway option to route all non-local traffic over the VPN when connected, but I haven't yet been able to figure out how to ensure that all DNS queries use the VPN nameserver. I

Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-18 Thread tincantech via Openvpn-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, --- Original Message --- On Saturday, June 18th, 2022 at 18:03, Bo Berglund wrote: > On Sat, 18 Jun 2022 13:46:09 +, tincantech via Openvpn-users > openvpn-users@lists.sourceforge.net wrote: > > > -BEGIN PGP SIGNED MESSAGE---

Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-18 Thread Bo Berglund
On Sat, 18 Jun 2022 13:46:09 +, tincantech via Openvpn-users wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Hi, > >--- Original Message --- >On Saturday, June 18th, 2022 at 09:26, Bo Berglund >wrote: > > > >> The way I did that: >> >> 1) sudo systemctl stop openvpn >> s

Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-18 Thread tincantech via Openvpn-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, --- Original Message --- On Saturday, June 18th, 2022 at 09:26, Bo Berglund wrote: > The way I did that: > > 1) sudo systemctl stop openvpn > sudo systemctl stop openvpn@server.service > sudo systemctl stop openvpn@serverlocal.servi

Re: [Openvpn-users] How to enable timestamps in server logfile?

2022-06-18 Thread Bo Berglund
On Wed, 15 Jun 2022 22:58:46 +0200, David Sommerseth wrote: >So in other words: On a systemd enabled system, using the "log" option >is not optimal. Does this mean that I should completely remove the log entries in the conf files or somehow use some specific entry that stops it from logging? >