V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  kingwkb  ›  全部回复第 12 页 / 共 51 页
回复总数  1013
1 ... 8  9  10  11  12  13  14  15  16  17 ... 51  
2016-03-23 11:29:03 +08:00
回复了 lhbc 创建的主题 分享创造 重写了 Ocserv 自动安装脚本,采用 epel 的二进制包(for CentOS 7)
auth = "certificate"
tcp-port = 443
run-as-user = nobody
run-as-group = daemon
socket-file = /var/run/ocserv-socket
server-cert = /etc/ocserv/server-cert.pem
server-key = /etc/ocserv/server-key.pem
ca-cert = /etc/ocserv/ca-cert.pem
isolate-workers = true
max-clients = 16
max-same-clients = 2
keepalive = 32400
dpd = 90
mobile-dpd = 1800
try-mtu-discovery = false
cert-user-oid = 0.9.2342.19200300.100.1.1
tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-VERS-SSL3.0"
auth-timeout = 40
min-reauth-time = 300
max-ban-score = 50
ban-reset-time = 300
cookie-timeout = 864000
persistent-cookies = true
deny-roaming = false
rekey-time = 172800
rekey-method = ssl
use-occtl = true
pid-file = /var/run/ocserv.pid
device = vpns
predictable-ips = true
default-domain = example.com
ipv4-network = 192.168.1.0
ipv4-netmask = 255.255.255.0
dns 8.8.8.8
dns 8.8.4.4
ping-leases = false
route = 8.8.8.8/255.255.255.255
route = 8.8.4.4/255.255.255.255
route = 64.18.0.0/255.255.240.0
route = 64.233.160.0/255.255.224.0
route = 66.102.0.0/255.255.240.0
route = 66.249.80.0/255.255.240.0
route = 72.14.192.0/255.255.192.0
route = 74.125.0.0/255.255.0.0
route = 108.177.8.0/255.255.248.0
route = 173.194.0.0/255.255.0.0
route = 207.126.144.0/255.255.248.0
route = 209.85.128.0/255.255.128.0
route = 216.58.192.0/255.255.224.0
route = 216.239.32.0/255.255.224.0
route = 104.244.42.0/255.255.255.0
route = 192.133.76.0/255.255.252.0
route = 199.16.156.0/255.255.252.0
route = 199.59.148.0/255.255.252.0
route = 199.96.58.0/255.255.254.0
route = 199.96.62.0/255.255.254.0
cisco-client-compat = true
2016-03-23 11:25:19 +08:00
回复了 lhbc 创建的主题 分享创造 重写了 Ocserv 自动安装脚本,采用 epel 的二进制包(for CentOS 7)
全部配置
auth = "certificate"
tcp-port = 443
run-as-group = daemon
server-key = /etc/ocserv/server-key.pem
ca-cert = /etc/ocserv/ca-cert.pem
isolate-workers = true
min-reauth-time = 300
use-occtl = true
ipv4-netmask = 255.255.255.0
dns 8.8.8.8
dns 8.8.4.4
ping-leases = false
route = 8.8.4.4/255.255.255.255
route = 64.18.0.0/255.255.240.0
route = 64.233.160.0/255.255.224.0
route = 66.102.0.0/255.255.240.0
route = 66.249.80.0/255.255.240.0
route = 72.14.192.0/255.255.192.0
route = 74.125.0.0/255.255.0.0
route = 108.177.8.0/255.255.248.0
route = 173.194.0.0/255.255.0.0
route = 207.126.144.0/255.255.248.0
route = 209.85.128.0/255.255.128.0
route = 216.58.192.0/255.255.224.0
route = 216.239.32.0/255.255.224.0
route = 192.133.76.0/255.255.252.0
route = 199.16.156.0/255.255.252.0
route = 199.59.148.0/255.255.252.0
route = 199.96.58.0/255.255.254.0
route = 199.96.62.0/255.255.254.0
cisco-client-compat = true
2016-03-23 09:15:12 +08:00
回复了 lhbc 创建的主题 分享创造 重写了 Ocserv 自动安装脚本,采用 epel 的二进制包(for CentOS 7)
Android 几天不掉线都没问题,应该是掉了会重连
2016-03-23 09:14:27 +08:00
回复了 lhbc 创建的主题 分享创造 重写了 Ocserv 自动安装脚本,采用 epel 的二进制包(for CentOS 7)
keepalive = 32400
cookie-timeout = 864000
persistent-cookies = true
deny-roaming = false
rekey-time = 172800
2016-03-23 06:29:42 +08:00
回复了 lhbc 创建的主题 分享创造 重写了 Ocserv 自动安装脚本,采用 epel 的二进制包(for CentOS 7)
我的 iOS Anyconnect 连接 Ocserv ,总是掉线不会重新连接怎么办?
失败的比例非常小不代表风险就小
如果不喜欢马丁嘴,不是还有 12 款福克斯选择么, 12 款 1.6 自动档 1 年 2w 多公里没遇到任何问题
2016-02-25 15:12:13 +08:00
回复了 mhtt 创建的主题 问与答 Apple Watch 现在是否值得购买?是不是即将要出新款?
估计要等 9 月, 3 月肯定没戏,最多系统升级
2016-02-14 09:15:23 +08:00
回复了 kingwkb 创建的主题 SSL Let's Encrypt 可以签出来多域名证书么?
@SharkIng 不想用 sni
2016-02-13 21:50:16 +08:00
回复了 kingwkb 创建的主题 SSL Let's Encrypt 可以签出来多域名证书么?
@Livid Let's Encrypt 对每个 IP 有限制,如果现在我有 5 个域名,证书下来之后,明天又加 3 个域名,这样就需要重新申请 8 个域名的证书,不知道这样是怎么限制的?
2016-01-25 08:21:54 +08:00
回复了 taozimiao 创建的主题 推广 智筹妹子,送礼+爆照!也是够拼的
智障妹子
2016-01-04 21:11:45 +08:00
回复了 colordancer 创建的主题 问与答 手里有一些美元现汇,怎么处理比较好
@icloudnet 1w 刀以上外汇怎么搞?
2016-01-01 20:04:47 +08:00
回复了 seabornlee 创建的主题 分享发现 别再用 CD 切换目录了
@azuginnen 这个就是 autojump 么? 看着不像哈
1 ... 8  9  10  11  12  13  14  15  16  17 ... 51  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3442 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms · UTC 11:06 · PVG 19:06 · LAX 03:06 · JFK 06:06
Developed with CodeLauncher
♥ Do have faith in what you're doing.