【发布时间】:2018-03-23 07:30:47
【问题描述】:
我在 VirtualBox 中有一个 Ubuntu Server 16.04 VM,使用以下命令在其上下载并安装了 strongSwan:
sudo apt-get install gcc make libgmp3-dev build-essential
wget http://download.strongswan.org/strongswan-5.6.0.tar.bz2
tar xjvf strongswan-5.6.0.tar.bz2
cd strongswan-5.6.0
./configure --prefix=/usr --sysconfdir=/etc
sudo make
sudo make install
sudo make 之后声明将安装 vici 插件:
strongSwan will be built with the following plugins
-----------------------------------------------------
libstrongswan: aes des rc2 sha2 sha1 md5 random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pkcs8 pkcs12 pgp dnskey sshkey pem fips-prf gmp curve25519 xcbc cmac hmac
libcharon: attr kernel-netlink resolve socket-default stroke vici updown xauth-generic
libtnccs:
libtpmtss:
但是在构建和安装swanctl --stats 之后输出:
connecting to 'unix:///var/run/charon.vici' failed: No such file or directory
Error: connecting to 'default' URI failed: No such file or directory
strongSwan 5.6.0 swanctl
一切都像strongSwan Installation Documentation 一样一步一步完成。它不工作的可能原因是什么?
【问题讨论】:
-
你启动了守护进程吗?
-
@ecdsa 刚刚做到了,现在一切正常!您应该在下面回答这个问题吗?
-
用这个命令完成
sudo /usr/libexec/ipsec/charon &
标签: installation vpn ipsec