[Users] IPsec

Kir Kolyshkin kir at openvz.org
Tue Jul 14 17:29:21 PDT 2015


You need to use modprobe not insmod, as the latter
requires path to .ko file, not the module name.

[root at tpad-ovz1 ~]# lsmod | grep af_key
[root at tpad-ovz1 ~]# modprobe af_key
[root at tpad-ovz1 ~]# lsmod | grep af_key
af_key                 30067  0
[root at tpad-ovz1 ~]# uname -a
Linux tpad-ovz1 2.6.32-042stab109.4 #1 SMP Fri May 8 15:31:07 MSK 2015 
x86_64 x86_64 x86_64 GNU/Linux
[root at tpad-ovz1 ~]#

On 07/14/2015 03:24 PM, Rene C. wrote:
>
> https://openvz.org/IPsec suggest
>
>   * Kernel 042stab084.8 or later
>   * The following kernel modules must be loaded before container start:
>
>     |af_key esp4 esp6 xfrm4_mode_tunnel xfrm6_mode_tunnel|
>
>
> but this throws an error:
>
> insmod: can't read 'af_key': No such file or directory
>
> Kernel is 2.6.32-042stab108.2
>
> What gives?
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20150714/28e86bb7/attachment.html>


More information about the Users mailing list