Default args on arch linux

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
thdia3
OpenVpn Newbie
Posts: 1
Joined: Wed May 17, 2023 12:16 am

Default args on arch linux

Post by thdia3 » Wed May 17, 2023 12:34 am

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

User avatar
Pippin
Forum Team
Posts: 1201
Joined: Wed Jul 01, 2015 8:03 am
Location: irc://irc.libera.chat:6697/openvpn

Re: Default args on arch linux

Post by Pippin » Wed May 17, 2023 1:58 pm

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...
.
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp

Post Reply