置顶 技术文章
为公司省钱往往省不到自己身上
hqy 发表于2023-03-24 浏览6015 评论1
技术文章
openwrt的strongswan配置
hqy 发表于2019-03-23 浏览4800 评论0
http://blog.chinaunix.net/uid-192452-id-5760577.htmlipsec pki --gen --type rsa --size 4096 --outform pem > private/openwrt.pemchmod 600 private/openwrt.pemipsec pki --self --ca --lifetime 3650 --in private/openwrt.pem --type rsa --dn "C=CH, O
技术文章
no netkey IPsec stack detected,no KLIPS IPsec stack detected,no known IPsec stack detected, ignoring
hqy 发表于2019-03-23 浏览4899 评论0
root@XXXXX:/# /usr/local/sbin/ipsec start --nofork
Starting strongSwan 5.3.0 IPsec [starter]...
sh: 1: modprobe: not found
no netkey IPsec stack detected
sh: 1:
技术文章
CentOS配置L2TP/IPsec VPN
hqy 发表于2019-03-23 浏览4810 评论0
以CentOS为例配置L2TP/IPsec,其实不单CentOS,其他系列系统(如Ubuntu等)如此配置,L2TP也能正常使用。首先,安装strongSwan和xl2tpd,不用Openswan是因为据说OSX会连不上。这个简单,直接yum或apt-get就行了。以防万一,还是把命令发出来:yum install strongswan xl2tpd -ystrongSwan主要是为了实现IPsec,而IPsec又是为了PSK,我喜欢这个。先来配置stro