上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 169 下一页
摘要: 一,报错信息 某个站点测试用octane运行后又改回通过php-fpm运行, 访问时报错: In Application.php line 933: Class "Laravel\Octane\OctaneServiceProvider" not found 二,解决: 原因是因为之前为项目安装过o 阅读全文
posted @ 2025-07-19 07:38 刘宏缔的架构森林 阅读(12) 评论(0) 推荐(0)
摘要: 一,官方文档地址: https://openvpn.net/community-resources/configuring-client-specific-rules-and-access-policies/ 二,可以使用的地址对: [ 1, 2] [ 5, 6] [ 9, 10] [ 13, 14 阅读全文
posted @ 2025-07-09 13:38 刘宏缔的架构森林 阅读(1) 评论(0) 推荐(0)
摘要: 一,报错信息 web nginx[55459]: nginx: [warn] low address bits of 10.8.0.14/24 are meaningless in /opt/soft/nginx/conf/conf.d/adm.conf:52 原因: 这个问题只是因为写命令时没有严 阅读全文
posted @ 2025-07-05 08:51 刘宏缔的架构森林 阅读(41) 评论(0) 推荐(0)
摘要: 一,修改openvpn配置文件 # vi server.conf 修改这里指定端口: port 1194 例如:改为2194 然后重启openvpn服务 # systemctl restart openvpn-server@server.service 二,配置防火墙 1,本机器防火墙 查看open 阅读全文
posted @ 2025-07-05 08:51 刘宏缔的架构森林 阅读(0) 评论(0) 推荐(0)
摘要: 一,格式: <ca> </ca> <cert> </cert> <key> </key> key-direction 1<tls-auth> </tls-auth> 二,看一个例子: 以上海大学的vpn为例:来源: https://vpn.shu.edu.cn/index/OpenVPNsysm/A 阅读全文
posted @ 2025-07-05 08:50 刘宏缔的架构森林 阅读(1) 评论(0) 推荐(0)
摘要: 一,nginx的配置文件 例子: server { listen 443 ssl; listen 1597 ssl; server_name adm.laowang.com; root /web/site/public; index index.php; access_log /logs/adm/a 阅读全文
posted @ 2025-07-05 08:48 刘宏缔的架构森林 阅读(120) 评论(0) 推荐(0)
摘要: 一,服务端配置 创建目录: # mkdir /etc/openvpn/auth 1,在server.conf追加: script-security 3 #允许使用自定义脚本 auth-user-pass-verify /etc/openvpn/auth/checkpsw.sh via-env #指定 阅读全文
posted @ 2025-07-05 08:47 刘宏缔的架构森林 阅读(0) 评论(0) 推荐(0)
摘要: 一,说明 nc命令全称是netcat。其主要功能如下:1.测试udp端口的连通性(重点)。 nc -z -v -u 172.16.100.101 88262.测试tcp端口的连通性。 nc -z -v 172.16.100.101 22 参数 : -u Use UDP instead of the 阅读全文
posted @ 2025-07-05 08:45 刘宏缔的架构森林 阅读(257) 评论(0) 推荐(0)
摘要: 一,添加、删除转发端口 使防火墙支持ip伪装 # firewall-cmd --zone=public --add-masquerade 使linux内核支持ip的转发 确定ip_forward打开 # sysctl -a | grep ip_forward net.ipv4.ip_forward 阅读全文
posted @ 2025-07-05 08:44 刘宏缔的架构森林 阅读(81) 评论(0) 推荐(0)
摘要: 一,命令: 在easyrsa目录下,创建一个名为client2的client # ./easyrsa build-client-full client2 nopass Using Easy-RSA 'vars' configuration: * /opt/easyrsa/pki/vars Notic 阅读全文
posted @ 2025-07-05 08:43 刘宏缔的架构森林 阅读(1) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 169 下一页