Wireguard: tunables not working for me

francisaugusto

Contributor
Joined
Nov 16, 2018
Messages
153
Hi,

I am on FreeNAS 11.3 U3.2 and I am trying to follow the tutorial to install Wireguard on FreeNAS (https://www.ixsystems.com/blog/wireguard-on-freenas-11-3/)

the thing is, I add the tunables variables, but they never show up, neither at my /etc/rc.conf, nor at /tmp/rc.conf, which is where they should end up according the documentation.

Any tips on how to fix it?

Also, the tutorial doesn't go deep into how to make a wg0.conf file. Anyone could share a bit of experience on this? I just want to setup a peer to peer - do I need to mess with routes and so on?

Best,

Francis
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
What kind of tunable? Loader tunables are populated in /boot/loader.conf.local. Rc.conf tunables are dropped in /etc/rc.conf.freenas, along with many other FreeNAS GUI settings. Sysctl tunables are stored in the FreeNAS configuration database directly.
 

francisaugusto

Contributor
Joined
Nov 16, 2018
Messages
153
What kind of tunable? Loader tunables are populated in /boot/loader.conf.local. Rc.conf tunables are dropped in /etc/rc.conf.freenas, along with many other FreeNAS GUI settings. Sysctl tunables are stored in the FreeNAS configuration database directly.

I meant `rc.conf`. Yes, it is where you are saying. Thanks! Annoying that the documentation is point at `/tmp/rc.conf.freenas`:

  1. FreeBSD rc.conf options: rc.conf(5) is used to pass system configuration options to the system startup scripts as the system boots. Since FreeNAS® has been optimized for storage, not all of the services mentioned in rc.conf(5) are available for configuration. Note that in FreeNAS®, customized rc.conf options are stored in /tmp/rc.conf.freenas.
 
Top