Page 1 of 1

Default args on arch linux

Posted: Wed May 17, 2023 12:34 am
by thdia3
Hi, I am using protonvpn what uses openvpn for its connection, what the client sets up automatically

Is there a way to set default args for openvpn? I have searched through all the docs and config files available on arch but stuck on how to fix this issue

more info:
I am trying to mute replay logs with --mute-replay-warnings:
nm-openvpn[1707]: Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1413950 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings

These logs are replays because it only happens with UDP connection and not TCP

Re: Default args on arch linux

Posted: Wed May 17, 2023 1:58 pm
by Pippin
Seems more like a Network Manager topic, moving to Off Topic.
Is there a way to set default args for openvpn?
I know little about NM but by editing the service file (openvpn-client@.service) you can achieve what you want.

Code: Select all

[Service]
ExecStart=/usr/bin/openvpn --mute-replay-warnings --config %i.conf
After an update the change will be lost though.
There might be a way to make that permanent, don't know...
.