Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenVPN plugin: openvpn service won't start #302

Open
piereligio opened this issue Mar 6, 2022 · 1 comment
Open

OpenVPN plugin: openvpn service won't start #302

piereligio opened this issue Mar 6, 2022 · 1 comment

Comments

@piereligio
Copy link

piereligio commented Mar 6, 2022

I've really tried many things to fix this including installing on different versions of FreeBSD, but I can't make openvpn service start on TrueNAS-12.0-U5.1.
Basically right after doing the first setup of the jail, the service will crash right away.
These are the last lines before the crash (from /var/log/messages) :
OpenVPN openvpn[4056]: /sbin/ifconfig tun2 10.8.0.1 10.8.0.2 mtu 1500 netmask 255.255.255.255 up
OpenVPN openvpn[4056]: FreeBSD ifconfig failed: external program exited with error status: 1
OpenVPN openvpn[4056]: Exiting due to fatal error

What can I do? Thanks in advance

@RossComputerGuy
Copy link

Try specifying a different tun, check if it is listed in /dev and in ifconfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants