VPN on Jail transmition and the rd.config file

WizFidER

Cadet
Joined
Jan 13, 2022
Messages
6
Hi everyone,
Today I try to install an VPN on my jail transmition. For this, I have following this article : https://www.digimoot.com/truenas-add-vpn-connection-to-a-jail/

But a first problem come, when i finish the configuration, restart my nas and go in my jail shell my IP is my public IP and not the VPN IP.
I test to start manually the VPN and the error appear : kldload: can't load if_”tun”: Operation not permitted /usr/local/etc/rc.d/openvpn: WARNING: Unable to load kernel module if_”tun” /usr/local/etc/rc.d/openvpn: WARNING: failed precmd routine for openvpn

For resolve this problem, i find this Reddit thread : https://www.reddit.com/r/freenas/comments/fctavp/is_it_possible_to_create_an_openvpn_jail_on_the/
And after many hours, i don't resolve my problem, I think my problem it's the /etc/rd.config because in my system is doesn't exist but i have a rc.config file... I don't know how it's the usage of this files so I dont understand the problem.

Do you have any idea how to resolve my problem ? If i dont have the rd.config files, it is normal i cant start my vpn ? Or the problem comes from somewhere else ?

I thank you in advance.
 
Top