I am running my VPN gateway and everything was working fine until yesterday. Yesterday I updated my unprivileged podman container where I run openvpn server and it won't start anymore because OpenVPN tries to adjust MTU of tun device.
In the past I was setting up tun device myself (including MTU) and then within container I was replacing `ip` command with empty script which was always returning 0. But yesterday I noticed MTU is set through different method, this is my log:
Code: Select all
TUN/TAP device tun0 opened
net_iface_mtu_set: mtu 1500 for tun0
sitnl_send: rtnl: generic error (-1): Operation not permitted
Linux can't set mtu (1500) on tun0
Exiting due to fatal error
Can somebody point me at direction what can I do to preserve my root-less setup? I was looking at -up argument but it says script specified within this argument is executed after interface is up.