I upgrade from: 1.2.0-rolling+201901280337 to: 1.2.0-rolling+201902240337. While everything else appears to have been saved and working, the OpenVPN server vtun0 was not carried over. Is this expected? The certificate directory (EasyRSA) is still there…
A note, I also have a vtun1 which is in client mode, this did in fact stay.
Hi, Jim
I had that issue when one of params of vtun0 wasn’t configured properly and disappears after reboot of VyOS upgrade with config import error.
Check log in /var/log/vyatta/vyatta-config-loader.log or leave your current vtun0 config here.
Thank you for coming back to me, it’s nice to know I’m not the only one who’s experienced this. I think I may have found the issue.
After following your advise I wasn’t able to find anything of help in the config loader log sadly. However I recreated vtun0 with the same commands I had before. It all works other that IPv6 route push! That’s probably why it failed after the upgrade.
I wonder if anyone can tell me why this command breaks OpenVPN on VyOS?: set interfaces openvpn vtun0 openvpn-option "--push route-ipv6 ::/0"
IPv6 works but I’m unable to push the above route to clients.
I had time this evening to revert back to: 1.2.0-rolling+201901280337. I’m happy to say that the following now works: openvpn-option "push route-ipv6 2000::/3"
Not sure if anyone on this forum knows why this broke in later releases. I’ll raise this as a bug on github :-).