Hello together,
I hope this question is not completely dumb but I'm pretty new to BSD. My FreeNAS-Server stands behind a Firewall which does not allow connections from the Internet to the Server. Fortunately I have a Server running openVPN in the Internet. I've seen that openVPN is already preinstalled on the BSD-Machine and the test of my config just runs fine. All I now want to do, is to autoconnect the freeNAS-Server to my VPN-Server.
What is the best way to start openVPN on startup? Is there any "systemctl" equivalent? I've read, that I can add:
Is this the way I should go? And is this way also update-proof?
Regards
Marove
I hope this question is not completely dumb but I'm pretty new to BSD. My FreeNAS-Server stands behind a Firewall which does not allow connections from the Internet to the Server. Fortunately I have a Server running openVPN in the Internet. I've seen that openVPN is already preinstalled on the BSD-Machine and the test of my config just runs fine. All I now want to do, is to autoconnect the freeNAS-Server to my VPN-Server.
What is the best way to start openVPN on startup? Is there any "systemctl" equivalent? I've read, that I can add:
openvpn_enable="YES"
openvpn_configfile="/usr/local/etc/openvpn/client.conf"
Is this the way I should go? And is this way also update-proof?
Regards
Marove